@SuppressWarnings on code hints and NetBeans 16. #5484
-
Netbeans 12 had the option to in the code hints context menu (right click) to suppress warnings. I can't seem to find that option in NetBeans 16. Is it still available, and if so, how do I turn on the option. I don't use it that much, but it is handy when I do use it. Thanks you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
not all warnings can be suppressed. I just tried it with the Any warning in particular you want to ignore? |
Beta Was this translation helpful? Give feedback.
-
Thanks. I don't remember the specific warning that I was trying to suppress, but I remember it was annoying. I have since seen ones that I could suppress through the context menu. |
Beta Was this translation helpful? Give feedback.
not all warnings can be suppressed. I just tried it with the
rawtypes
compiler warning and it worked: it added@SuppressWarnings("unchecked")
.Any warning in particular you want to ignore?