vscode-postgres icon indicating copy to clipboard operation
vscode-postgres copied to clipboard

Save credentials in settings

Open rshedzer opened this issue 2 years ago • 5 comments

Is it possible to save connection settings inside "settings"? or can it be added? My use case is a local database set up in a devcontainer. I would like to give developers an "it just works" experience.

rshedzer avatar Mar 15 '23 17:03 rshedzer

+1, I found this because I need it too. Or maybe read from the env variables psql is using as well:

PGHOST=
PGPORT=
PGDATABASE=
PGUSER=
PGPASSWORD=

jonnylangefeld avatar Jun 14 '23 17:06 jonnylangefeld

A section like this would be great:

https://github.com/microsoft/vscode-remote-try-sqlserver/blob/4eeef3a8479dc84167aed20fe75a3012f3139d23/.devcontainer/devcontainer.json#L15-L26

virzak avatar Feb 18 '24 21:02 virzak