Niki
Niki

Reputation: 1924

How to check the PHP syntax in Eclipse?

I'm using Eclipse for developing PHP applications. 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!

Upvotes: 1

Views: 6044

Answers (3)

Niki
Niki

Reputation: 1924

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.

Upvotes: 1

Rufinus
Rufinus

Reputation: 30721

see the pdt project (plugin) http://www.eclipse.org/pdt/

Upvotes: 0

hollsk
hollsk

Reputation: 3137

Install phpEclipse for all your syntax-checking needs :)

http://www.phpeclipse.com/

Upvotes: 2

Related Questions