mbien opened a new pull request #3171:
URL: https://github.com/apache/netbeans/pull/3171


   NetBeans has some very well hidden features :) for example, I didn't know 
that you can run hint files - if you can find the aciton.
   
   This PR
    * registers run file action on the hint file right click menu
    * reloads the inspection automatically when a hint file is saved (main 
reason why i started this effort)
    * hintfile editor shows now only errors as errors, rest is mapped to 
warning (if its enabled)
    * java 8 language level updates to the two packages I looked at (separate 
commits), e.g diamonds, lambdas try-with resource etc
      * contains trivial improvements, e.g refactoring to Deque interface, 
descending iterator instead of reversing collections etc
      * refactored while testing jackpot rules of course :)
    
   feedback needed for UpdateGlobalHintsOnSaveTask (6d5ac68). This task has to 
run after the file is saved but the OnSaveTask happens before IO. The task 
would have to be enqueued somewhere, I just didn't know where (i am a bit rusty 
nb platform wise). Its a pure coincidence that enqueuing it to the EDT (which 
has to be done anyway) creates the right timing so that it works.


-- 
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