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 207800 - Java keyword abbreviations now require source file to be parsed
Summary: Java keyword abbreviations now require source file to be parsed
Status: RESOLVED DUPLICATE of bug 208548
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: PC All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-01-26 23:30 UTC by _ tboudreau
Modified: 2012-04-05 11:59 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 _ tboudreau 2012-01-26 23:30:47 UTC
Create a getter method in some fairly complex class that takes a little time to parse.

Rapidly type a method signature for a getter to return an int called someVariable,

public int getFoo() {
  re[TAB] so[CTRL-K];
}

in the body of the method.  Type fast.

Depending on whether the Java parser has finished with the file or not, you may get

return someVariable;

or you may get

re someVariable;

So, annoyingly, I now have to wait for the editor to catch up with me (usually I type "re something" 3-4 times).

Java keyword abbreviations do not require the file to be parsed;  the editor should not either.  These need to be special-cased.
Comment 1 Dusan Balek 2012-04-05 11:59:39 UTC
Should be fixed in the current dev build.

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