Java code highlighting in AEM not working
I am working on a project in AEM (Adobe Experience Manager) - and I have tried both main plugins that exists for this, but whlie using any of them, sass and javascript gets the normal treatment - code highlighting and syntax checking, but the Java files is never recognized no matter how I try to mark directories as source. Can you give me any directions how to force a directory to be treated as java source no matter what plugins are active?
请先登录再写评论。
WebStorm provides no java support, and we have no plans to include it support in the product; there are no plugins for this language that can be installed in WebStorm. You can use Intellij IDEA Ultimate to employ all languages (Javascript, Java, PHP, CSS/SASS/LESS, etc.) support in a single environment. All you can do in Webstorm you can do equally well in IDEA, you won't lose any functionality.
If all you need is a basic syntax highlighting for Java, you can either try importing the corresponding textmate bundles (see http://stackoverflow.com/questions/16451359/is-it-possible-to-get-ruby-syntax-highlighting-in-phpstorm/16451778#16451778) or register your own file type, defining a syntax highlighting rules for it (http://www.jetbrains.com/webstorm/webhelp/new-file-type.html).
If none of these options look suitable for you, try developing your own language plugins - see http://www.jetbrains.org/intellij/sdk/docs/reference_guide/custom_language_support.html
Thanks, that helped. I just swapped over to my IDEA for future development, was not aware of this limitation in Webstorm.