4 ms·
There’s plenty of GUI tools, but what about tools for writing SQL inside VS Code? We usually write our DB migrations in VS Code along with any other code chang
by bfelbo 5y ago
There’s plenty of GUI tools, but what about tools for writing SQL inside VS Code?
We usually write our DB migrations in VS Code along with any other code changes, but the PG support in VS Code seems to be lacking. Just some naïve validation of PostgreSQL code inside VS Code would be awesome!
- mixmastamyk 5y agoI used pgsanity at the CLI for a while when I unfortunately had coding and testing split between two machines. Can be used with any editor. https://github.com/markdrago/pgsanity https://github.com/markdrago/pgsanity
- bfelbo 5y agoInteresting, thanks! I wonder how easy it would be to write a VS Code plug-in using that.
- mixmastamyk 5y agoIf you can run a linter, you can run it as well.
- bfelbo 5y agoAh, good point! I might try to create an eslint rule that incorporates it.