This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 84977

Summary: Atribute completion invokes at wrong possition
Product: webservices Reporter: Jindrich Sedek <jsedek>
Component: EditorAssignee: Milan Kuchtiak <mkuchtiak>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Jindrich Sedek 2006-09-15 09:25:35 UTC
Create new WebService
add annotation: @HandlerChain(file=""|)
press Ctrl+Space at "|" possition
code completion invokes and using it, it generates invalid code

@HandlerChain(file=""../)
Comment 1 Marek Fukala 2006-09-15 15:45:35 UTC
I cannot reproduce exactly what you reported (@HCH(file="|") =>
@HCH(file=""../). If the CC is invoked between the quotas the items are placed
correctly, but if I invoke the CC after the second quota @HCH(file=""|) then the
items are placed behind the quote (invalid - the CC shouldn't work at all there).

Unfortunatelly I can see another two related issues:
1) the file code completion should work just behind the equals sign and
automatically add the quotas (like in @WebService(wsdlLocation=|) CC).

2) if I invoke the CC on the marked place  

@HandlerChain(file="../../conf/MANIFEST.MF"|) 

I get 

@HandlerChain(file="../../conf/MMANIFEST.MF)

(the filename is incorrect and closing quotation mark is missing)

I do not consider this as a showstopper, hence putting off to 6.0
Comment 2 Marek Fukala 2006-09-15 15:48:14 UTC
Please disregard my comment about not being able to reproduce what you exactly
reported. I didn't get the point of "press Ctrl+space at "|" position at the
first sight :-)
Comment 3 Lukas Jungmann 2008-04-14 17:16:59 UTC
moving opened issues where TM != dev to TM=TBD
Comment 4 Milan Kuchtiak 2008-09-23 10:58:46 UTC
The code completion for @HandlerChain needs to be implemented.
Comment 5 Milan Kuchtiak 2008-11-19 10:50:45 UTC
Still valid since CC is not working there.
Decreasing priority to P5 as there is an action "Configure Handlers" for this purpose on web service node.
Comment 6 Quality Engineering 2009-12-21 05:29:54 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team