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 - Hints should not suggest fields for class names
Summary: Hints should not suggest fields for class names
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-28 23:29 UTC by Torbjorn Norbye
Modified: 2009-02-03 10:52 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 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.