开发者

How to check the PHP syntax in Eclipse?

开发者 https://www.devze.com 2023-01-07 09:43 出处:网络
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 tip

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/

0

精彩评论

暂无评论...
验证码 换一张
取 消