You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/07/02 05:03:58 UTC

[GitHub] [netbeans] jlahoda commented on pull request #2224: [NETBEANS-4521] Missing syntax highlighting for records

jlahoda commented on pull request #2224:
URL: https://github.com/apache/netbeans/pull/2224#issuecomment-652783275


   Hi Adam,
   
   Thanks for the fix!
   
   I have two suggestions:
   -RECORD should probably be added to TreeUtilities.CLASS_TREE_KINDS directly, rather than check for it on usages. (Should be doable using Tree.Kind.valueOf("RECORD"), catching the IllegalArgumentException, if the kind does not exist.)
   -it would be awesome if some tests could be updated, existing tests are e.g.:
   https://github.com/apache/netbeans/blob/21e19a3f60e69935f7cfe5ff5b0110346bcd8aaf/java/java.editor.base/test/unit/src/org/netbeans/modules/java/editor/base/semantic/DetectorTest.java#L539
   
   Thanks!


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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