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

Summary: Hint sugestion for 'typos' in class names
Product: java Reporter: pribyl <pribyl>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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)