Syntax Highlighting...

Hiya, I have some files in my project that I wish to highlight using the
java syntax rules (there include files that get used in a pre-processor)
so arn't full classes.

If I tell Idea to treat .inc files as Java Source, it adds all the compile
warnings/checks and complaints, and wants the directory to be listed as a
source directory, where all I want is for the file to be highlighted.

Can I do this (without creating a new syntax highlight definition?)

Mark

0

请先登录再写评论。