Hacker News new | past | comments | ask | show | jobs | submit login

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!




I 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


Interesting, thanks! I wonder how easy it would be to write a VS Code plug-in using that.


If you can run a linter, you can run it as well.


Ah, good point! I might try to create an eslint rule that incorporates it.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: