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.
Compare attached Vim vs. NetBeans screenshot. In VIM expression is more readable then in NB. i.e. also "${" and "}" should be colorized since it is not part of the actual string.
Created attachment 36741 [details] VimVsNB.png
Other case which looks little odd is: TMP="#{ENV['HOME']}/tmp" Try to put it into editor.
The problem is that the JRuby lexer does not split the strings into these tokens; e.g. if I have "foo#{x}bar" I will get " - string begin foo#{ - string x - whatever }bar - string To make the #{ and } substrings separate tokens (which I can then assign non-string colors) I'll have to split up what I'm getting back from JRuby (or patch their lexer further). Definitely doable, but I'm putting it off until I've taken care of a few higher priority items.
Reassigning this issue to newly created 'ruby' component.