lahodaj commented on PR #6745:
URL: https://github.com/apache/netbeans/pull/6745#issuecomment-1825881862

   The JEPs says:
   Within the content of a string template or text block template, IDEs should 
visually distinguish an embedded expression from literal text.
   
   Which is what NB does, and what this patch does. Inside NB, we could 
highlight the String fragments differently based on lexer, but I don't think I 
see the need. For the VS Code grammar, I don't even know how to do it - we 
would need to adjust the scopes based on presence/absence of `\{...}`.
   
   In both cases, we could create a semantic highlight key for string 
templates, but I think it is already visually distinct enough.


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