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 251484

Summary: Withhold import hints until maven dependencies are fetched
Product: java Reporter: kalle1
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description kalle1 2015-03-29 16:06:48 UTC
When a dependency is added in the dialog opened by the "Search Dependency at Maven Repository for Id" menu item of the "cannot find symbol" hint (in a maven project) it is possible to open the hints dialog again without the list of import candidates being updated. In the worst case the user thinks that adding the dependency failed in the best he_she is annoyed and has to reopen the hint context menu again and again.

The import hints should be withhould until the candidates are updated (either the whole hints menu has to consist of just one read-only menu item ~"updating import candidates" or just the list of menu items of previous (before adding the dependency) import candidates).

This is very well combinable with #251483. In case it'd be implemented the read-only menu item could say ~"waiting for maven dependencies to be fetched".