Search code examples
aptana

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


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.


Solution

  • The PHP editor can override the global settings. Try:

    Preferences > Aptana Studio > Editors > PHP > Indentation

    Select Use Tabs for Tab policy