Laravel DB SQL HighlightingAdds SQL syntax highlighting to raw SQL strings passed directly to Laravel's
The extension is declarative: it injects VS Code's built-in SQL TextMate grammar into recognised PHP strings and does not run any extension code. Supported calls
Leading namespace paths are supported, including Single-quoted PHP strings are also supported. PHP variables in double-quoted queries retain PHP variable highlighting. ScopeThe SQL must be a quoted string passed directly to a supported method. A lexical grammar cannot follow variables, so this form is not highlighted:
Concatenated expressions outside the initial SQL string continue to use normal PHP highlighting. |