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 7639 - save users time when they get "class not found" compile error
Summary: save users time when they get "class not found" compile error
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P4 enhancement (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-09-14 01:16 UTC by eakle
Modified: 2007-09-26 09:14 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 eakle 2000-09-14 01:16:28 UTC
"Class xxx not found" errors are very common, and most of the time the fix is to
add an Import statement to the source code.  It would be a really nice
time-saver if Netbeans, after the occurance of such a compile error, would try
to figure out if the class exists in the universe of possible imports, and if
so, then offer to insert that import statement into my source file (or provide a
button to press that will add it, or just add it, etc...).
This would save time for nearly all Java developers, and be a nice
product differentiator.
Comment 1 Jesse Glick 2000-09-14 17:05:59 UTC
Probably better considered as part of a general "import management" feature
(clean up existing imports, consolidate or split apart wildcards, etc.).
Comment 2 Svata Dedic 2000-10-09 09:19:59 UTC
There will be probably an import tool as soon as I finish underlying support
classes. However, the compiler does not - currently - distinguish "Class xxx not
found errors" from other ones; output from external compilers can only be
regexp-ed for some (configurable) string so the IDE will catch some special
error types [what other error types are so special ? ;-) ]
Comment 3 Jan Becicka 2002-01-11 17:20:15 UTC
Reopening
Comment 4 Jan Becicka 2002-01-11 17:23:41 UTC
You can use Import Management Tool.
Comment 5 Quality Engineering 2003-07-01 13:10:08 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 6 Quality Engineering 2007-09-20 12:23:16 UTC
Reorganization of java component