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 250342 - Code template expansion listens for too long
Summary: Code template expansion listens for too long
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.0.2
Hardware: PC Windows 8
: P2 normal (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2015-02-10 13:34 UTC by shredder121
Modified: 2015-02-10 13:34 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description shredder121 2015-02-10 13:34:33 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 8.1 version 6.3 running on amd64
Java; VM; Vendor = 1.7.0_65
Runtime = OpenJDK 64-Bit Server VM 24.65-b04

Steps to reproduce:
- Set template expansion to space
- Set auto-completion pop up to 'any java identifier part'

Given a code element (method, class) with the given contents:

public class TemplateExpansion {

    private String fyyBar;

    public TemplateExpansion() {
        [caret here]

- type in 'f' or 'fy' (this should bring up the completions)
- accept fyyBar with enter
- press space

It should expand 'f' or 'fy' to its actual template.

Incidentally, forBar or foreBar DO work.