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 175781 - Duplicated prefix during XML code completion
Summary: Duplicated prefix during XML code completion
Status: RESOLVED DUPLICATE of bug 173122
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ alexpetrov
URL:
Keywords: REGRESSION
: 175568 (view as bug list)
Depends on:
Blocks: 171179
  Show dependency tree
 
Reported: 2009-10-30 14:31 UTC by iceman81
Modified: 2009-11-09 03:02 UTC (History)
6 users (show)

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 iceman81 2009-10-30 14:31:09 UTC
The code completion behavior is weird for ant tasks.
For example, after you type "<antc" and then use Ctrl+Space for code completion, the IDE completes it to "<antcallantc".
Basically for every ant task, it completes the task name and appends the original string that was typed to the end of
the code completed task. 
Invoking code completion for "<pa" results in "<parampa". 
This seem to affect only task names, as code completion for task attributes behaves correctly.
Comment 1 Jesse Glick 2009-10-30 15:37:16 UTC
Was reported in issue #171179, but that was fixed only in the Java editor. Seems to affect both Ant scripts and plain
XML files.

(Was some incompatible change made in the editor core in 6.8 that affected multiple languages? Are there other languages
affected?)
Comment 2 Sergey Lunegov 2009-10-30 15:52:45 UTC
Alex, please take a look.
Comment 3 Vitezslav Stejskal 2009-10-30 15:56:59 UTC
The same as issue #175568. I'm not aware of any changes in editor.completion module. Dusane, any hints, ideas, suggestions?
Comment 4 Jesse Glick 2009-10-30 16:07:28 UTC
*** Issue 175568 has been marked as a duplicate of this issue. ***
Comment 5 Sergey Lunegov 2009-11-09 03:02:36 UTC

*** This bug has been marked as a duplicate of bug 173122 ***