Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use tabs instead of spaces in Aptana Studio?

Tags:

aptana

The tab key is inserting spaces when I'm editing PHP files. How can I insert tabs instead?

I've checked that Preferences > General > Editors > Text Editors > "Insert spaces for tabs" is cleared.

I'm using Aptana Studio 3.0.7 standalone on Windows 7.

like image 598
Shane Goodman Avatar asked Jan 10 '12 03:01

Shane Goodman


1 Answers

The PHP editor can override the global settings. Try:

Preferences > Aptana Studio > Editors > PHP > Indentation

Select Use Tabs for Tab policy

like image 60
Ingo Muschenetz Avatar answered Oct 03 '22 03:10

Ingo Muschenetz