Netbeans SQL syntax highlighting in script? (e.g. PHP)

When an SQL block is enclosed in quotation marks in PHP (denoting a string), it would be great to highlight this SQL syntax. I'm looking for at least standard SQL highlighting, but PostgreSQL 9.1 compatibility was exactly what I needed. I am open to any suggestions no matter how difficult (for example, recompiling Netbeans) to achieve this.

+5
source share
2 answers

The entire IDE makes the syntax highlighted using the tokenize Parser token list . In this case, the SQL text and plain text in echo / print have the same token (T_STRING). With a tough hack in the IDE to see the syntax for selected SQL text, all texts are also fixed.

+2
source

Sublime_text has such a function.

0
source

All Articles