Chris2011 commented on PR #4885:
URL: https://github.com/apache/netbeans/pull/4885#issuecomment-3522015509

   Is this only a Java in NetBeans feature? I mean we can also have SQL in 
strings in JS, PHP and also HTML in JS and in PHP etc. This would be very nice 
to handle multi embedding in strings in different languages. Had just a quick 
look and it seemed more or less just for Java atm? IntelliJ handles this with a 
comment for permanent injection or with a hint for strings with temporarely 
injection: https://www.jetbrains.com/help/idea/using-language-injections.html.
   
   Is it really common to make annotations per IDE? The Matisse GUI editor is 
using smth like this for make the code readonly `// <editor-fold 
defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents`. 
Don't get me wrong, I really like the feature but when I see annotation I think 
of "@language" and this is not what I want to see in my code. A comment is more 
clear IMHO.


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