auto complete for struts bean tags.

Need help.

This used to work in 3.05, but with my latest upgrade to 4.02, the struts bean tag auto code complete is not working.

When i try to do:
<bean:define id="xx" type="java.lang. cltr + space doesn't give me suggestion on what class i can use.
In 3.05, it will give me a popup of available classes i can pick.

And, when i define a start strut's bean tag, it doesn't give me a auto complete of end tag for me. In 3.05, when i do <logic:equal>, it will automatically give me the </logic:equal> or atleast when i type </ + cltr + space, it will auto complete the match tag for me.

Is there something i can configure or this is a bug with IDEA 4. By the way, love this tool..

Thank you and happy coding.

3 comments

Have you setup Web module for that JSP ?
It won't work otherwise, please see help for 'Web modules' topic.

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"David Li" <no_mail@jetbrains.com> wrote in message news:9356141.1079726515668.JavaMail.itn@is.intellij.net...

Need help.

>

This used to work in 3.05, but with my latest upgrade to 4.02, the struts bean tag auto code complete is not working.

>

When i try to do:
<bean:define id="xx" type="java.lang. cltr + space doesn't give me suggestion on what class i can use.
In 3.05, it will give me a popup of available classes i can pick.

>

And, when i define a start strut's bean tag, it doesn't give me a auto complete of end tag for me. In 3.05, when i do

<logic:equal>, it will automatically give me the </logic:equal> or atleast when i type </ + cltr + space, it will auto complete the
match tag for me.
>

Is there something i can configure or this is a bug with IDEA 4. By the way, love this tool..

>

Thank you and happy coding.



0

Yes, i did setup the web module, and defined the proper JDK, web source directories, and libraries for it.

Reason I said that is becasue when I use the jsp tag, like <jsp:usebean, the type tag was able to find the classes from either JDK or my web source.

In addition, it was able to find the bean tag when i do <bean: ctlr + space, it does show up a list of hints. But when I picked the tag, it didn't do anything else like auto complete the the closing tag.

Hope this help you finding solution for my problems. Thank you for the helps.

&& Happy coding.

0

Please make sure your classes containing referenced bean is included in your Web module e.g. as module library.
(Paths|web module|Libraries)
--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"David Li" <no_mail@jetbrains.com> wrote in message news:4041686.1079980139234.JavaMail.itn@is.intellij.net...

Yes, i did setup the web module, and defined the proper JDK, web source directories, and libraries for it.

>

Reason I said that is becasue when I use the jsp tag, like <jsp:usebean, the type tag was able to find the classes from either JDK

or my web source.
>

In addition, it was able to find the bean tag when i do <bean: ctlr + space, it does show up a list of hints. But when I picked

the tag, it didn't do anything else like auto complete the the closing tag.
>

Hope this help you finding solution for my problems. Thank you for the helps.

>

&& Happy coding.



0

Please sign in to leave a comment.