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 271036 - [90cat] autocompletion doubles code
Summary: [90cat] autocompletion doubles code
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-05 08:09 UTC by muellermi
Modified: 2017-07-05 08:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (117.61 KB, text/plain)
2017-07-05 08:09 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2017-07-05 08:09:17 UTC
Product Version = NetBeans IDE Dev (Build 201707050001)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_131
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.131-b11

Reproducibility: Happens every time

STEPS:
  * Open pom
  * Locate version string to update, e.g. <version>7.7</version>
  * delete old version <version></version>
  *  invoce autocompletion between the tags
  * choose a version from the list and press enter

ACTUAL:
  NB inserts the selected version and doubles the closing tag
  <version>7.8.2</version></version>
  --> next vompile fails

EXPECTED:
  insert version and add closing tag only if needed (as it did in former NB versions)
  <version>7.8.2</version>
Comment 1 muellermi 2017-07-05 08:09:22 UTC
Created attachment 164697 [details]
IDE log