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: | No way to find all occurrences of a fixless hint | ||
---|---|---|---|
Product: | java | Reporter: | Jesse Glick <jglick> |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | Keywords: | USABILITY |
Priority: | P4 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jesse Glick
2012-04-04 13:14:06 UTC
There of course is a way to do that in NB7.2: use Source/Inspect. There are a couple things broken around I&T, some of which I am going to fix by using this bug's number. Also, no need to look for the warning in the combo, if you don't know which exact warning you are looking for: use the Browse button. The dialog also provides the "Search" function, and typing "Collection" will make it easy to find the warning (tested in I&T). This functionality is not working in Source/Inspect in the current dev builds, but fix is on the way under bug #210087. Adding a subfix to find all similar warnings (and apply fixes to all similar warnings, if available) is definitely on the list, but there is *much* more on the list than what could possibly be done in foreseeable future, so no guarantees on when that will be implemented. (In reply to comment #1) > There of course is a way to do that in NB7.2: use Source/Inspect. Confirmed that Source > Inspect works for this use case. So could the I&T dialog gently point you in that direction when given a hint with no fixes? > no need to look for the warning in the combo, if you don't know which > exact warning you are looking for: use the Browse button. Yes, I did this. Was looking for the text of the hint instance (as in status bar), which was not easily visible; needed to look for the title of hint instead. > The dialog also provides the "Search" function Good, did not see that. (In reply to comment #1) > > Adding a subfix to find all similar warnings (and apply fixes to all similar > warnings, if available) is definitely on the list, but there is *much* more on > the list than what could possibly be done in foreseeable future, so no > guarantees on when that will be implemented. For the record: This part is fixed in 7.3 http://wiki.netbeans.org/NewAndNoteworthyNB73#Run_inspections.26transform_for_wider_scope_from_fixable_hint_in_editor This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |