This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Our development is extensively java and sql related, we have a lot of embedded sql strings inside the java codes if we can bring in the SQL syntax highlighting into the java editor then it will substantially increase our dev's productivity borrowing the idea from <editor-fold> we can have some *magic* comments to hint the editor to switch syntax highlighting mode for example String sql = /*<syntax lang='sql'>*/ "select * from user" /*</syntax>*/; to extend the idea further, we can have embedded HTML/XML code highlighting String html = /*<syntax lang='xml'>*/ "<div>{namePlaceHolder}</div>" /*</syntax>*/;
There's already code completion [1] so I guess that implementing syntax highlighting should not need any special syntax. [1] https://netbeans.org/kb/docs/php/editorguide.html#cc-sql
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss
My link to "SQL Code Completion" is broken, please check https://netbeans.org/kb/74/php/editorguide.html#cc-sql If I'm not wrong, this feature request is not implemented yet in latest development build available today (netbeans-trunk-nightly-201607100002-php-windows-x64.exe).