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 236345 - Code completion moves closing </dependency> tag up after <artifactID>
Summary: Code completion moves closing </dependency> tag up after <artifactID>
Status: RESOLVED DUPLICATE of bug 234933
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2013-09-25 05:00 UTC by MackSix
Modified: 2013-10-06 12:37 UTC (History)
2 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 MackSix 2013-09-25 05:00:33 UTC
1. Type in a new dependency in the POM for jtattoo by typing:

<dependency>

</dependency>

in the appropriate location.

2. Now type <groupID> and use code completion to enter com.jtattoo.

Results: The closing dependency tag is moved up after the entry like this:

<dependency>
    <groupID>com.jtattoo</dependency>

This gives the illusion that code completion closed the tag, which of course is a problem for you trying to type in new entries if you did not notice what happened. 

Works OK in 7.3.1. Regression 

Product Version: NetBeans IDE 7.4 RC1 (Build 201309162201)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b50
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b108
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Milos Kleint 2013-09-25 05:40:38 UTC
I cannot reproduce in current dev build (20130919) but if this is happening, there's no way it could be caused by maven's own code, more likely a xml completion issue. reassigning.
Comment 2 markiewb 2013-10-06 12:37:29 UTC

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