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

Shane Goodman picture Shane Goodman · Jan 10, 2012 · Viewed 9.8k times · Source

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.

Answer

Ingo Muschenetz picture Ingo Muschenetz · Jan 10, 2012

The PHP editor can override the global settings. Try:

Preferences > Aptana Studio > Editors > PHP > Indentation

Select Use Tabs for Tab policy