mbien commented on issue #4790:
URL: https://github.com/apache/netbeans/issues/4790#issuecomment-1297452326

   there isn't really a difference between warnings and errors. It all depends 
where they come from. NB has lots of potential sources. For example some java 
errors or warnings could come directly from javac. 
   
   Those are not from code inspections. There is another bug which complains 
that deprecation warnings don't show for your code #4604 - well because that is 
how javac works, it only shows them for JDK code usage - not for third party 
`@deprecated`. We would have to write a hint for that to inspect all other 
deprecation warnings (which isn't that difficult btw).
   
   Also keep in mind editor hints are updated as you are typing. While the java 
compiler errors and warnings in the action items window only update when you 
safe the file (since that is when it compiles).
   
   HTML hints are probably registered via `ide/csl.api 
org.netbeans.modules.csl.core.TasklistStateBackdoor`
   
   NB is an old IDEs which many ways how to do the same thing. Unfortunately 
features were never removed which causes so much code to still use old 
mechanisms.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to