allow set a config for ".sql" to be treated as "postgre files"
Allow a options to identify the extension of files and treat those as postgre files to allow run queries using shortcuts
this is specilly usefull because there's alot of other plugins to work with SQL extension
examplo to add colors, sintax analise and others stuff and I lose all of it if I have to change the file to .pgsql
At least add setting to add extensions manually.
At least add setting to add extensions manually.
If setting up vscode to run and debug .sql files takes more than 15 seconds, it's a "HelloWorld" database tool. (That's not this guy's fault, obviously).
Back to emacs I go...
Serves me right: it's only 2 years since "HelloWorld"-types started making a fuss about VSCode - which is never enough for MSFT to get code to 'beta' quality.
I really ought to have known better than to expect Microsoft to produce a fit-for-purpose lightweight customisable IDE when everything else they make is half-finished and insecure. Geany's better than VSCode.
Bet VSCode phones home, too.
You can achieve the same result by associating sql files with postgres language in vscode settings
- Run
Preferences: Open settings (JSON) - Paste this
"files.associations": {
"*.sql": "postgres"
}