Posted by barnettech on January 23, 2012 at 4:39pm
Hello,
I have Drupal Code Sniffer working in Vim, and now in Eclipse (which is my preferred IDE), and it applies the Drupal Coding Standards and reports errors with a little red "x" on the side. But in Eclipse it is only working with .php files I have .module and .info files showing up with php syntax highlighting, but can't seem to get codesniffer to run against them. Any advice or a link to a tutorial would be fabulous.
Thank you.

Comments
I have the following extensions set
under properties->PHP CodeSniffer->File extensions I put in "php,module,inc,install,test,profile,theme" so I'm not sure why its not running the checks on non php files. I have this set on the whole eclipse install and on the project which is just for one module I'm working on.
It seems this is probably a bug with CodeSniffer itself
It seems this is probably a bug with CodeSniffer itself
See comment http://drupal.org/node/1414902#comment-5508020. I describe the workaround to use this with Eclipse. We'll probably submit this as a bug to CodeSniffer.