Idea 12 - JSP Code-complete and Syntax Coloring

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

5 comments
Comment actions Permalink

To enable autocompletion of methods etc, you'l need to give intellij a hint, e.g.:
<%--@elvariable id="bean" type="com.MyBean"--%>

however, I am not sure this will work in CE, see:


@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
0
Comment actions Permalink

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?

0
Comment actions Permalink

empire29 wrote:


Any idea if code complete works w scriplets without the hints?


yes, that should work (same functionallty like in java code)

0
Comment actions Permalink

I have Utlimate IDEA12 now - and this is still not working. Any ideas on why code complete in JSPs simply does not work?

0
Comment actions Permalink

SOLUTION:

To get JSP Code Completion to window in IDEA 12, you must ENABLE in Plugins: Java EE Integration.

0

Please sign in to leave a comment.