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 150578 - Ability to force computation of hints
Summary: Ability to force computation of hints
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Max Sauer
Depends on:
Reported: 2008-10-17 19:29 UTC by Jan Lahoda
Modified: 2009-07-29 06:01 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

patch (40.74 KB, patch)
2009-07-20 11:05 UTC, Max Sauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2008-10-17 19:29:10 UTC
When the user presses Alt-Enter, currently an outdated list of Fixes may be given. There should be a way to force
evaluation of hints to allow showing an up-to-date list of Fixes.
Comment 1 Max Sauer 2009-07-20 11:00:09 UTC
I'd like to propose a compatible API change in Editor Hints SPI. In order to provide up-to-date hints on current line upon their invocation (alt-enter), a 
simple way is needed to communicate between Editor Hints SPI and hint providers.

Each client module which intends to use refreshers will need an PositionRefresher implementation registered, which will provide up-to-date hints based on 
Context, providing position and cancel status.

I'll attach Editor Hints changes and implementation or refresher for java (JavaPositionRefresher).
Comment 2 Max Sauer 2009-07-20 11:05:04 UTC
Created attachment 84926 [details]
Comment 3 Max Sauer 2009-07-28 15:21:52 UTC
Since there are no complaints, I'm going to push the changes.
Comment 4 Max Sauer 2009-07-28 15:34:20 UTC
Marking as FIXED.
Comment 5 Quality Engineering 2009-07-29 06:01:22 UTC
Integrated into 'main-golden', will be available in build *200907290201* on (upload may still be in progress)
User: Max Sauer <>
Log: #150578: Ability to force computation of hints