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 190377 - auto complete problem when editing XML attributes
Summary: auto complete problem when editing XML attributes
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-15 19:32 UTC by mclaborn
Modified: 2015-09-17 13:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mclaborn 2010-09-15 19:32:52 UTC
Product Version = NetBeans IDE 6.9 (Build 201006101454)
Operating System = Linux version 2.6.32-24-generic running on amd64
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 16.3-b01

NetBeans 6.9.1 Ubuntu 10.04 64 bit
Editing an xml file with a schema, indicated in the XML as show below. I press ALT + Spacebar to get a list of possible attributes for the element I am entering.  I can type the first few letters of the attribute name and the list of possible attributes is filtered to those that begin with those letters.  I arrow down and press enter on the desired attribute name, but the result is the letters that I typed followed by the full name of the attribute.  So if I type "an" and then arrow down and press enter on "answerValue" the result is "ananswerValue".  This is obviously less than desirable.

This bug is 100% repeatable.

<survey id="survey" ...
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="file:///home/mclaborn/projects/NetBeans/SurveyCore/schema1.xsd"
>
Comment 1 Martin Balin 2015-09-17 13:17:14 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.