lkishalmi opened a new pull request, #6749:
URL: https://github.com/apache/netbeans/pull/6749

   I'm doing some small work with Micronaut lately, and wished that the 
annotations would be more distinctive in the editor.
   
   It seemed it is not that easy to set a different color for them. First the 
`@` and the `...` tokens were marked as `special`, though no coloring support 
were assigned to that key. I've checked the Lang Spec, they are called as 
separators (at least in 8).  
   
   Also changing the color in the annotation use (or actually XXX Use) would 
make the import statements rainbow, so I had to skip those. Actually there is a 
possibility to use different colors for the imported identifiers, if someone 
would think that useful.
   
   Lastly, added localization for the `mod-keyword` coloring.  That is not in 
actual use as there are some bugs in the code. I do not know the correct 
intention of that modifier, How I'd get it that those are keywords that are 
keywords by their context, not a simple token in the Lexer. 
   
   Ides, feedback are welcome!
   
   This is with FlatLaf Light:
   
![image](https://github.com/apache/netbeans/assets/1381701/857c6800-9188-4270-b6f7-87a48fd6f308)
   
   This is with FlatLaf Dark
   
![image](https://github.com/apache/netbeans/assets/1381701/22d72afa-9702-4040-8558-917f7461b35a)
   


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