I'm trying out Aptana (standalone version) for PHP editing. Like its parent Eclipse, it has a lot of settings for code formatting. Unlike Eclipse, it doesn't seem to have an option for actually doing code formatting automatically or even by manual trigger. Is there a nonobvious option for this that I'm missing?
+4
A:
Right click > Format
Works fine for me. Make sure you have the PHP plugin installed if it isn't working for you
Mark
2009-08-08 16:11:32
This also works for javascript etc.
Paul Hargreaves
2009-12-01 12:09:15
+2
A:
SHIFT + CTRL + F is also the default keyboard shortcut for this.
AvatarKava
2009-09-20 10:08:42
A:
Install Aptana PHP, info available here: https://aptanastudio.tenderapp.com/discussions/problems/605-php-formatting
JJ
2010-02-07 18:20:01