0

i installed Eclipse then installed the latest PDT, then CodeSniffer from the official update site. After restarting eclipse, nothing changes. No validation at all. I can manually start PHP CodeSniffer on a selected file, but nothing happens. Tried with Juno (4.2) and Kepler (4.3), even with Indigo. Nothing works. All the howto sites simply tell to install CodeSniffer from the update site, but it doesnt work.

Does anyone know how to get this working, so it prints warnings in my problem panel? I installed it on command line as well using "pear install PHP_CodeSniffer". Calling it manually on command line works fine, but not in eclipse.

PEAR library is set to internal, selected Zend as Standard. PHP Exec is also set to my custom compiled one under /usr/local/bin.

4

1 に答える 1

0

.metadata とすべての設定を削除する必要があったため、最初からやり直すことができました。すべてのプロジェクトを再度追加する必要がありましたが、少なくとも CodeSniffer は機能していました。そのため、何かがそれを妨げていました。

于 2013-03-20T14:13:28.377 に答える