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.
What I thought a minute ago is highlighting strings "string" and 'string' - it would be nice to have an option to gave those strings different highlight colors as it can be found in some editors, name Notepad++ as one example, I like to use the same background, but diff foreground colors - and it gives the "not-exactly-string" feel when looking at $_POST['foo'] or $arr['key'] - you should know what I mean.
BTW - single quoted strings are not parsed in the same way as double quoted strings. <?php $string = 'value'; echo '$string'; ?> won't print |value| but exactly what was inside the quotes - that is: |$string| while <?php echo "$string"; ?> will evaluate the variable inside the quotes into |value|.
In echo '$var' the $var is colored as a string. In echo "$var", the $var is colored as a variable. So even now there is a difference between these strings.
Yes, but you can do much more in "" - like escape characters. It may be just my personal preference, but I'm working with some "not that small" project at the moment and I was given the code that some other programmer started. I comment it and change it to suit my preferences, highlighting '' and "" in different way would be useful at the moment. But that's not just it - just see this N++ highlighted code: http://img523.imageshack.us/img523/2879/stringkp8.png (Yup, // and /* */ with separate highlight options would be nice too) With this type of syntax highlightning I can see at a glance what is going on even with lots of code.