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.
Please refer the attached screenshot to see the issue. When I enter the tag as : <var name="aa"/> and press CTRL+SPACE, "No suggestions" is displayed, which is correct. However, after I take my cursor to some other line and then bring it back again to the end of the var tag, and press CTRL + SPACE, completion items are shown incorrectly outside the tag.
Created attachment 44622 [details] Screenshot of the issue
I might have fixed this already as a part of some other fix. Please verify.
Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710212201) Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 System: Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb) Code completion still shows suggestions outside of tag. Steps: 1. Create a new schema 2. add some complex type and a sequence, to that add an element. 3. in Source view position your cursor after the element and invoke code completion and elements attribute options are shown but CC should show no suggestion.
Fix integrated. /cvs/xml/schema/completion/src/org/netbeans/modules/xml/schema/completion/util/CompletionContextImpl.java,v <-- CompletionContextImpl.java new revision: 1.20; previous revision: 1.19 /cvs/xml/schema/completion/test/unit/src/org/netbeans/modules/xml/schema/completion/BasicCompletionTest.java,v <-- BasicCompletionTest.java new revision: 1.18; previous revision: 1.17
Fix Verified: Product Version: NetBeans IDE Dev (Build 200801220251) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.1 running on i386; MacRoman; en_US (nb)