In order to maintain harmony among several developers it is important to follow some core standards. With Symfony, it is standard practice to use a two space convention. Here is how to make PHPEclipse honor this policy while still allowing you to use the tab button.
- I recommend this distribution. Note that you need to start this program in administrator mode if you are using Vista.
- Window -> Preferences
- PHPeclipse Web Development-> PHP
- Go to the Appearance tab
- Set “Displayed tab width” to 2
- Go to the Typing tab
- Check “Insert spaces for tab”
- Click Apply and OK
Thanks to Isaac Saldana, of LinRails fame for this tip.
Speak Your Mind