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.
Product Version: NetBeans IDE Dev (Build 080715) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.4 running on i386; MacRoman; en_US (nb) -create new Maven project (Maven Quickstart Archetype) -open .pom file of the project -go to e.g. <modelVersion> tag and invoke code completion by ctrl+space (code completion appears correctly) -delete ending tag </modelVersion> -write ending tag </modelVersion> again -go to <modelVersion> tag and invoke code completion by ctrl+space -->> code completion doesn't appear ("no suggestion" appears instead)
Workaround is to push following: spacebar, backspace, Ctrl+S. Then it is possible to invoke code completion properly again.
Created attachment 64971 [details] sample maven pom
attached is a sample pom.xml file. It seems that the triggering event for failing completion is the generation of closing tag. Anyway the element name part of the maven completion is done only by registering a xml schema that is picked up by the schema completion support. Reassigning there for evaluation.
Per priority guidelines, this is a P3.
Sorry, how do I create a Maven project?
1. Install Maven plguin via Tools/Plugins 2. either copy the attached pom.xml in an empty directory, or create a new maven project via File/New project.
I do agree with the problem but not with its priority.
http://wiki.netbeans.org/BugPriorityGuidelines states for P4s "Incorrect behavior that doesn't affect functionality" that's clearly not the case here, the described steps to reproduce are just one case of completion getting lost BTW. I keep on hitting Ctrl-Space repeatedly as the first time it says "no suggestion"
Fixed: http://hg.netbeans.org/main?cmd=changeset;node=3a22ee317341.
Integrated into 'main-golden', will be available in build *200809100201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3a22ee317341 User: samaresh@netbeans.org Log: #140531 Code completion stoped working