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.

Bug 255718

Summary: Color SQL strings
Product: php Reporter: fiala.premysl
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 8.0.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description fiala.premysl 2015-10-06 08:08:59 UTC
Sometimes I need to write SQL queries. It would be helpful, if Netbeans could color them. Just main SQL keywords would be enought.

For example, Netbeans could recognise sql queries by some @variable:

/** @sql */
$sql = 'SELECT id FROM mainTable';  // SELECT and FROM are in different color