Idea 12 - JSP Code-complete and Syntax Coloring Follow
HI all,
I am checking out Idea 12 Community Editition to see if it justifies a prucahse of the full product.
Everything is great, however I can't seem to get support in JSPs. I have multi-module Maven projects, and I am trying to enabe code-completion and syntax highlighting.
Currently, ctrl-space in the JSP will pull up a list of ALL classes on the class path, but I cannot perform code completion for methods.
I've been trying both simple scriplets as well as taglibs.
The JSPs compile during maven build using the JSPC maven plugin, so I dont think there anything wrong them.
Thoughts?
Thanks
Please sign in to leave a comment.
To enable autocompletion of methods etc, you'l need to give intellij a hint, e.g.:
<%--@elvariable id="bean" type="com.MyBean"--%>
@see: http://www.jetbrains.com/idea/features/editions_comparison_matrix.html
best way for eveluating would be to download 30 days eval version:
http://www.jetbrains.com/idea/download/index.html
cheers
Ahh - thanks! I swore it was working on my other machine so I figured it was sow thing w the the set up on this one.
Any idea if code complete works w scriplets without the hints?
yes, that should work (same functionallty like in java code)
I have Utlimate IDEA12 now - and this is still not working. Any ideas on why code complete in JSPs simply does not work?
SOLUTION:
To get JSP Code Completion to window in IDEA 12, you must ENABLE in Plugins: Java EE Integration.