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 91625

Summary: Hints should not suggest fields for class names
Product: java Reporter: Torbjorn Norbye <tor>
Component: SourceAssignee: Rastislav Komara <moonko>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Torbjorn Norbye 2006-12-28 23:29:08 UTC
Let's say I write this code:

   Foo.bar();

Retouche gives me a hint to "Create Field 'Foo'".

When the name looks like a class name, it should offer to create a class instead. 

(Don't just look at the case of the first letter; if this had been FOO, it could
be a field constant and offering to create a field rather than a class is
appropriate.)
Comment 1 Rastislav Komara 2009-02-03 10:52:04 UTC
Overtake.