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 130641 - Hint sugestion for 'typos' in class names
Summary: Hint sugestion for 'typos' in class names
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-20 14:10 UTC by pribyl
Modified: 2013-09-02 14:19 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 pribyl 2008-03-20 14:10:30 UTC
OK, this is just a small enhancement that crossed my mind recently - I hope it is not total nonsense.

Hint systems recognizes incompatible types, and offers a substitution, so if you have for example
String x = new Integer (10)    , hint offers 'change String to Integer'

But if you have made some typo like:
Inteer x = new Integer (10) ,

hint suggests to create a new class Inteer, although he 'knows' that there should be Integer. Of course, there still
should be the option for creating new class, but maybe the suggestion 'change Inteer to Integer' would be nice for users
who like to correct their errors via hints (or Alt+Enter)