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 214452 - Incorrect claim in editor/hints.html
Summary: Incorrect claim in editor/hints.html
Status: VERIFIED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Jeffrey Rubinoff
URL:
Keywords:
Depends on:
Blocks: 213182
  Show dependency tree
 
Reported: 2012-06-19 14:17 UTC by Jan Lahoda
Modified: 2012-06-28 09:54 UTC (History)
5 users (show)

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 Jan Lahoda 2012-06-19 14:17:49 UTC
In:
usersguide/javahelp/org/netbeans/modules/usersguide/configure/csh/editor
/hints.html
there is:
<li><strong>Show in problem window.</strong> Java only. Show the hint in the Output window as a problem.</li>

I am afraid this is not correct, there is no such option in the GUI (it is in the code, but is disabled and is not shown to the user). I think this point should be removed from the helpset.
Comment 1 twolf2919 2012-06-19 14:23:50 UTC
I vote for enabling it and showing it to the user - I could definitely use this feature.  As the only Netbeans user in my group, I'm always the guy committing "violating" code to our source repository because, unlike Eclipse users, I can't really see all their violations unless I happen to be looking into the gutter of each changed file.
Comment 2 Jan Lahoda 2012-06-19 14:27:41 UTC
Well, there is a checkbox for that in the panel, but nothing is bound to it, so it is not just making the checkbox visible. Currently, Source/Inspect can be used to see the warnings.
Comment 3 twolf2919 2012-06-19 15:01:41 UTC
(In reply to comment #2)
> Well, there is a checkbox for that in the panel, but nothing is bound to it, so
> it is not just making the checkbox visible. Currently, Source/Inspect can be
> used to see the warnings.

[Sorry for the discussion in two bugs, but I just wanted to make sure there's no loss of information].

I don't see how Source/Inspect is a good substitute.  If I've modified 30 files
in a project of almost 5000 files, why would I want to run Source/Inspect on
the whole project just to see whether I've committed any violations in the 30
modified files?  Even with the bug fix in Source/Inspect, I'd have to wait 5 minutes - and then
my violations would likely be obscured by those others may have introduced into the
project.

There should be another Source/Inspect option for only inspecting modified
files or, better yet - from a workflow perspective - allow this to be
integrated with the output window (I'm already looking at that every time I
build - to have to manually do Source/Inspect is really clumsy.  That's why I
looked forward to the feature described in the Help).

Should I file an enhancement bug for this or is there already one (perhaps
resurrect the one that killed off the Preferences->Editor->Hints option?)
Comment 4 Jeffrey Rubinoff 2012-06-19 22:39:43 UTC
Ok, I removed the reference to that hint. If anyone implements it in the future, please let docs know.
Comment 5 Jeffrey Rubinoff 2012-06-19 22:41:08 UTC
Marking this for 7.3 unless someone thinks this is worth putting in the 72 patch. Not sure what the keyword for that is. Also, really, this is not a P2 bug.
Comment 6 twolf2919 2012-06-19 22:46:27 UTC
As this one is closed/fixed by removing the reference in the help, should I open a separate enhancement bug to actually have this feature in 7.3?
Comment 7 Jan Lahoda 2012-06-20 07:28:36 UTC
Thanks for fixing that. I think it would be worth to push this into 7.2, given how simple the change is:
http://hg.netbeans.org/main/rev/921523f8f53e

Jirka, what do you think? I can go through the HR process, unless someone else wants to do that.
Comment 8 Jeffrey Rubinoff 2012-06-20 09:56:37 UTC
(In reply to comment #6)
> As this one is closed/fixed by removing the reference in the help, should I
> open a separate enhancement bug to actually have this feature in 7.3?

Yes, the doc issue and the enhancement should be separate issues. Please file the enhancement bug.
Comment 9 Jiri Prox 2012-06-20 12:32:13 UTC
verified in trunk
Comment 10 Jan Lahoda 2012-06-21 09:30:26 UTC
Merged to release72:
http://hg.netbeans.org/releases/rev/7f12ba5c549f
Comment 11 Quality Engineering 2012-06-22 04:20:47 UTC
Integrated into 'releases', will be available in build *201206212341* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/7f12ba5c549f
User: jeff_rubinoff@netbeans.org
Log: removed unimplemented hint
Issue #214452 - Incorrect claim in editor/hints.html
Comment 12 Quality Engineering 2012-06-22 04:48:17 UTC
Integrated into 'main-golden', will be available in build *201206220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/921523f8f53e
User: jeff_rubinoff@netbeans.org
Log: removed unimplemented hint
Issue #214452 - Incorrect claim in editor/hints.html
Comment 13 Jiri Prox 2012-06-28 09:54:38 UTC
verified in 7.2