Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Aptana auto format

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?

like image 716
rwallace Avatar asked Aug 08 '09 15:08

rwallace


2 Answers

Shift+Ctrl+F is also the default keyboard shortcut for this.

like image 162
AvatarKava Avatar answered Nov 01 '22 15:11

AvatarKava


Right click > Format

Works fine for me. Make sure you have the PHP plugin installed if it isn't working for you

like image 6
Mark Avatar answered Nov 01 '22 15:11

Mark