How to check the PHP syntax in Eclipse?
I'm using Eclipse for developing PHP applicati开发者_JS百科ons. I want to run PHP in lint mode to check the syntax of my PHP files for any errors. How can I do this within Eclipse? Thanks for any tipp!
Install phpEclipse for all your syntax-checking needs :)
http://www.phpeclipse.com/
I solved the problem: I worked with PHP files which were part of projects. Although I used the Eclipse PHP perspective there was no syntax checking. I found out that I had to configure the projetcs and add PHP support. Now its working as expected.
see the pdt project (plugin) http://www.eclipse.org/pdt/
精彩评论