Search code examples
phpeclipseeclipse-pdt

Eclipse Luna EE not highlight mistakes in php


I wasted my time because of mistake in code - not substr but subsrt - why Eclipse not highlight mistakes like this?

I have installed PDT: eclipse PDT


Solution

  • PDT haven't static code analysis. PDT-Eg core plugin have now only initial support for classes and unused variables.

    As a workaround (still no warnings in code), you can enable internal function highlighting (PHP/Editor/Syntax Coloring).