简体   繁体   中英

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

When a block of SQL is enclosed in quotes in PHP (denoting a string) it would be great to have that SQL syntax highlighted. I'm looking for standard SQL highlighting at the very least, but PostgreSQL 9.1 compliant would be exactly what I need. I'm open to any suggestions no matter how complex (eg recompiling Netbeans) to achieve this.

All the IDE's make the sintax highlighted with auto tokenize approach List of Parser Tokens . In this case the SQL text and the simple text in echo/print are same token (T_STRING). With a hard hacking in the IDE to see sintax highlighted SQL text's, all text are also afected.

Sublime_text具有这种功能。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM