postgres icon indicating copy to clipboard operation
postgres copied to clipboard

Syntax Highlighting Support via Extension

Open g33kidd opened this issue 1 year ago • 2 comments

I'd be interested in making/seeing a VSCode plugin that supports syntax highlighting within the SQL string. Currently my only workaround is using sql.file to get syntax highlighting, but I'd rather use sql. Is this something that someone has created or is interested in partnering up to create something like this?

For example, take a look at vscode-styled-components. It enables syntax highlighting within styled component strings.

g33kidd avatar Aug 24 '23 12:08 g33kidd

Maybe the recently released sql language server from supabase could be of help : https://github.com/supabase/postgres_lsp

porsager avatar Aug 24 '23 13:08 porsager

There are a few SQL plugins that exist. Here's the one I use: https://marketplace.visualstudio.com/items?itemName=thebearingedge.vscode-sql-lit

It's not postgres specific, but it does keep color your SQL strings.

aust1nz avatar Aug 31 '23 17:08 aust1nz