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.
Summary: | Import Management: Shouldn't it suggest a package for unresolved names | ||
---|---|---|---|
Product: | java | Reporter: | eadams <eadams> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
eadams
2002-05-29 02:50:47 UTC
Hmm... it would be *very* nice if we had access to the Editor's parser database, so far the only cross-reference of classes in the IDE. There's a list of "well-known packages" in IMT's settings, the tool will try to look in them for an unresolved identifiers, if you permit it to guess (set Guessing strategy to "look in well-known packages"). This is an approximation of having a real cross-reference data (we'll get better with MDR-based models). *** Issue 24158 has been marked as a duplicate of this issue. *** Already implemented. See issue #19813. I guess the remaining question is whether or not the default for the Guessing Strategy should be to Search. Given that the Well-Known packages are very standard, changing the default seems reasonable. However, we need to keep in mind things like FFJ Mobile Edition which would need the ability to dynamically change the default. I don't know if such an ability exists. |