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 268143 - Completion of variables when editing build.xml adds extra text
Summary: Completion of variables when editing build.xml adds extra text
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-21 16:02 UTC by peterhull90
Modified: 2016-09-21 16:02 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 peterhull90 2016-09-21 16:02:18 UTC
Product Version = NetBeans IDE 8.2 RC (Build 201609140952)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_101
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13

Reproducibility: Happens every time

STEPS:
  * Edit the build.xml of a project, the intention is to add a target like this:
    <target name="aaaa">
        <echo message="Ant version is ${ant.version}" />
    </target>
  * Type as far as the $, press CTRL+SPACE
  * List of current ant variables appears
  * Select ant.version and press TAB

ACTUAL:
  Inserted text is "{ant.version}nt version is $"

EXPECTED:
  Inserted text is "{ant.version}"

REPRODUCIBILITY:
  Always. This is just an example, it doesn't matter which variable is selected or where you try to insert it (within a string)