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.
Many hints, specially the new ones, are about helping with good programing practices - which is a highly debatable subject. Given that, each project has its own definitions of best practices and a given developer might be working on several projects at once. Therefore, hints should be configurable on a project basis as well, the same way formatting rules can be overridden per project. The general configuration would be the default if the project doesn't contain specific configuration, otherwise the project specific settings would be used.
I second misterm's comment--hint settings need to be stored on a per-project basis. There are a lot of scenarios that illustrate the need for this: * A codebase with multiple developers: everyone should be seeing the same warnings, so that they can get rid of them before they commit new code. * A single developer working on different codebases, each with their own coding style guidelines. * A single or multiple developers working on a big existing codebase, for which the team would like to gradually enable more and more warnings as they clean up the codebase. For me, the storing of hint-settings on a per-project basis is really a prerequisite for starting to use hints consistently in my projects. Once this feature is implemented, I'd really start to take advantage of all the awesome new hints!
*** Bug 228302 has been marked as a duplicate of this bug. ***
Don't forget to tell people to vote! And since most would agree this is an important feature it should probably be P2. P.S. - should the version be changed?
Only a note from me: Do not forget the integration within the editor. Many hints in the editor have a submenu, which allow to "disable hint"/"configure hint". ACTUAL: these actions work globally -> * "disable hint" * "configure hint". EXPECTED: provide additional actions in the submenu which are project specific * "disable hint (globally)" * "configure hint (globally)" * "disable hint (for current project)" (NEW) * "configure hint (for current project)" (NEW) @Jan: Feel free to move this requirement into a separate issue.
Integrated into 'main-golden', will be available in build *201304272301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/136f671ea6b7 User: Jan Lahoda <jlahoda@netbeans.org> Log: #181726: ability to specify hints settings per project
Integrated into 'main-golden', will be available in build *201305042300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2cf846bb9c4b User: Jan Lahoda <jlahoda@netbeans.org> Log: #181726: ability to specify per-project hints for apisupport.ant projects
Cool! How do you configure the project hints?
Answering my own question, it looks like the Hints panel doesn't show up for Maven projects--only Ant projects.
Any ETA on when this will be available for Maven projects?
Finishing this feature is important for 7.4.
It looks like this started working for Maven projects in recent builds. Was there a commit for that?
*** Bug 221281 has been marked as a duplicate of this bug. ***
Marking as fixed, according to comment #11