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 170315 - Suggest a variable name based on editor errors.
Summary: Suggest a variable name based on editor errors.
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-13 11:31 UTC by Petr Dvorak
Modified: 2009-08-14 09:05 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Dvorak 2009-08-13 11:31:58 UTC
Assume you write something like:

database.setName(userNameFullWithDiacritics); // userNameFullWithDiacritics does not exist, rest of the code is OK

Editor warning/error shows up - it notifies you about a non-existing variable. Apparently, the first thing you would
like to do is to fix the erroneous state, so you place caret one line up and you start typing "String user|"... Now, I
would like to be able to use the code completion to complete the variable name to the one that is missing (currently,
code completion offers me "userS" and "userString").

// This feature works for example in XCode (CC shows all "words" in the sources).
Comment 1 Max Sauer 2009-08-14 09:05:59 UTC
Yes, this would be nice. CC area, reassigning to Dusan.