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 131589 - Don't provide hints in Guarded Sections
Summary: Don't provide hints in Guarded Sections
Status: CLOSED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-31 09:04 UTC by Marian Mirilovic
Modified: 2009-12-03 03:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2008-03-31 09:04:02 UTC
NB 6.1
We are displaying hints for code in Guarder Sections - after applying suggestion -> error message is shown in Editor
status bar - it would be better to hide hints for code in guarded sections at all.
Comment 1 Vitezslav Stejskal 2008-04-02 09:04:52 UTC
Yes, we should not. Users can't influence this code, so we should not bother them with warnings.
Comment 2 Max Sauer 2008-11-18 12:24:13 UTC
Using current infrastructure, this is not an easy decision -- there are some types of hints, ie. introduce field, which make sense and work properly even 
when invoked from inside guarded block, and some users/developers using hints API will be unpleasantly surprised when this will stop working. In the time 
of the hint creation, the area which is affected (place in source, where changes will be made) is not yet decided, so it's currently impossible to suppress just 
hints which usage will result in the status bar message.

Lets plan to review/redesign the infrastructure LATER.
Comment 3 Quality Engineering 2009-11-02 10:59:59 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX
Comment 4 Marian Mirilovic 2009-12-03 03:24:58 UTC
v/c