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 209689 - Improve auto-completion by checking for spelling mistakes
Summary: Improve auto-completion by checking for spelling mistakes
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1.1
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-17 14:02 UTC by terje7601
Modified: 2012-03-17 14:02 UTC (History)
0 users

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 terje7601 2012-03-17 14:02:05 UTC
When i have the following in the editor ("<cursor>" is the place where my
cursor is):

JFrame mainWindow = new JFrame("Test");
mainwindow.<cursor>

Currently, when i press Ctrl+Space at this point, the auto-completion gives me "No suggestions".

What i would like, is that the auto-complete feature recognizes i meant to type "mainWindow". So in the case there are no suggestions, it should look for accessible variables that are very alike to the current variable (e.g. by using something like the Levenshtein distance, so that it also recognizes "mqinWindow") & give me a quick fix that says "Did you mean: mainWindow?", after pressing Enter, the feature should fix the writing & then present me a list of suggestions for "mainWindow".