Community
Participate
Working Groups
I grabbed Eclipse 3.2 M5a and proceeded to create a Java project with the JSR-181 reference implementation linked in. I then tried to create a Web service using an annotated Java bean. I expected that after typing "@" and pressing CTRL+SPACE, I would get some auto-completion choices but none appeared. Also, if I continuously press CTRL+SPACE to try the other default proposals, nothing appeared. auto-completion choices did not appear until I typed in a partial word. For annotations which have parameters, auto-completion just gave me the name of the annotation. e.g. if I type "@WebMethod(" and then press CTRL+SPACE, "WebMethod" is automatically added after the bracket. Shouldn't it give me choices like "operationName" and "action"?
This looks more like a feature request and therefore cannot be included in a maintenance release. David, Isn't this the same issue than type completion with no word?
Definitely a feature request changing our existing behavior. We are planning changes in this area for 3.3 anyway. Nothing we would change for 3.2.1.
Now annotation arguments names are proposed even if there is no prefix (see bug 148521).
Created attachment 49489 [details] Proposed fix Add proposals for empty annotation name
Released for 3.3 M2. Test added CompletionTests_1_5#test0290() Annotation names are proposed just after the '@'.
*** Bug 107822 has been marked as a duplicate of this bug. ***
Verified for 3.3 M2 using build I20060918-0010