Categories
PHP Tips & Tutorials

How to link external code source folder in Eclipse PDT projects & Array initializer indentation size?

Code folders may be distributed across different locations and paths but you want to manage them in one Eclipse project. It’s easy to achieve this by linking code source in your Eclipse project.

  1. Right click on project
  2. Click “Properties”
  3. Select “PHP” > “Build Path”
  4. Click “Link Source…”
  5. Click “Browse”
  6. Select the code folder to link and click “OK”

Change array initializer indentation size

https://stackoverflow.com/q/13108241/49318

Twig syntax highlighting

http://twig.dubture.com/installation/