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.
I am working on a "mx" based project. Use following commands to get it as well: $ git clone https://github.com/graalvm/mx.git $ git clone https://github.com/graalvm/truffle.git $ cd truffle $ ../mx/mx netbeansinit $ netbeans --open truffle/com.oracle.* that will open our projects in NetBeans. There is a lot of @SuppressWarnings and we really use them. Enough to remove one of them and our build fails. However, when using the NetBeans projects (with compile on save on), there is no indication (in editor gutter or in action items window) that there are going to be warnings. On the other hand, there are warnings in the Action Items window that aren't important for us (usage of sun.misc.* classes) and we'd like to suppress them.
Sample warnings I'd like to see displayed: truffle/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/parser/TypeSystemParser.java: @SuppressWarnings("unused") truffle/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/expression/Scanner.frame:@SuppressWarnings({"rawtypes"}) truffle/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/generator/DefaultNodeGenFactory.java: @SuppressWarnings("static-method") truffle/com.oracle.truffle.api.vm/src/com/oracle/truffle/api/vm/PolyglotEngine.java: @SuppressWarnings("try") truffle/com.oracle.truffle.api.vm/src/com/oracle/truffle/api/vm/IncompleteSourceException.java:@SuppressWarnings("serial") truffle/com.oracle.truffle.api.interop.java/src/com/oracle/truffle/api/interop/java/ArrayReadNode.java: @SuppressWarnings("unchecked") truffle/com.oracle.truffle.api.instrumentation.test/src/com/oracle/truffle/api/instrumentation/test/examples/DebuggerExampleTest.java: @SuppressWarnings("hiding") truffle/com.oracle.truffle.api.instrumentation/src/com/oracle/truffle/api/instrumentation/EventContext.java: @SuppressWarnings("cast") truffle/com.oracle.truffle.api.debug/src/com/oracle/truffle/api/debug/ExecutionEvent.java:@SuppressWarnings("javadoc") truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/ControlFlowException.java: @SuppressWarnings("sync-override") Grep was done on revision 0e4a76c7a8504b3e4a0e2880a4eb6bd674ad99e9
In fact, the javac warning based items can be displayed. mx netbeansinit uses per project hint configuration, which completely overrides the Tools | Options / editor/hints settings. Open project settings, go to Hints node and check "Standard Javac warnings". Filter out unwanted hints with custom action filter, or uncheck the unncessary hints in the project options.