-
1. Re: Code Completion Not Working
maxandersen Dec 29, 2005 2:13 PM (in response to psschranz)have you added the annotation libraries and enabled jdk 5 support on the project?
-
2. Re: Code Completion Not Working
psschranz Dec 29, 2005 2:32 PM (in response to psschranz)Hi Max,
The libraries in the Java Build Path (Project->Properties->Java Build Path->Libraries) for the project include:
+ JBossAOP 1.3 Libraries (jdk 1.5)
+ JBoss EJB3 Libraries [JBoss 4.0.3SP1 with EJB3]
+ JRE System Library [jre1.5.0_06]
The hibernate-annotations.jar file is included in the EJB3 libraries. Is this the correct annotations library you write of?
The currently selected JRE (Preferenes->Java=>Installed JREs) is jre1.5.0_06. Do I need to do anything else to enable JDK 5 support?
Paul -
3. Re: Code Completion Not Working
maxandersen Dec 29, 2005 2:42 PM (in response to psschranz)right click on a project and check if Java Compiler/Compiler Compliance level is set to 5.0.
-
4. Re: Code Completion Not Working
psschranz Dec 29, 2005 6:03 PM (in response to psschranz)
Max,
The Java Compiler/Compiler Compliance level was and is set to 5.0.
Paul -
5. Re: Code Completion Not Working
maxandersen Dec 30, 2005 1:49 AM (in response to psschranz)and @E<ctrl-space> doesnt give you anything ?
-
6. Re: Code Completion Not Working
psschranz Dec 30, 2005 2:07 PM (in response to psschranz)
Hi Max,
Yes, Cntrl-Space does work. I recently read that in the knowledge base as well. Thanks for your help.
I understand that code completion for annotations is an Eclipse issue. I wonder why @<first letter> Cntrl-Space is necessary instead of @ and an automatic response.
Danke,
Paul -
7. Re: Code Completion Not Working
maxandersen Dec 30, 2005 5:14 PM (in response to psschranz)bothers me too, but haven't followed up on why eclipse is that way.
-
8. Re: Code Completion Not Working
nickthegreat Jan 13, 2006 7:14 AM (in response to psschranz)This really really should be mentioned in the JBoss IDE EJB 3.0 Tools trailblazer video or any kind of (official) documentation !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Feelt sooo stupid not being able to get code completation to work :-(
Unless I found this post, thx :) -
9. Re: Code Completion Not Working
maxandersen Jan 13, 2006 8:03 AM (in response to psschranz)patches to the documentation is very welcome in our jira.