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

Allow all connections to be stored in User.Settings

Open sftgoldie opened this issue 6 years ago • 3 comments

Far as I can tell, I would have to update each of my dev machines with the connections to use this plugin. Instead is it possible to store all the connections in settings.json instead? For example vscode-sqltools allows this.

By default, store connections in secure storage, but for unsecure connections (a la dev dbs) allow for plain text settings.

sftgoldie avatar Feb 05 '19 19:02 sftgoldie

Yeah, I'm currently transferring my settings to a new computer here in my job, and now I have to remake all my connections manually (16 of them)

kyhou avatar Aug 24 '20 18:08 kyhou

This would be particularly helpful for us as we are using devcontainers and each project has a preconfigured container - being able to include the db connection in settings provided by the container puts us one step closer to instant-dev-ready

jrussellsmyth avatar Oct 29 '20 19:10 jrussellsmyth

Echo the value of this old thread. Moving between different systems is hard as these settings are not persisted as a a vscode configuration (unlike other db plugins that do manage it via settings). Not sure if https://github.com/Borvik/vscode-postgres/issues/210 would bring some of these improvements, but figured i'd poke

jbjonesjr avatar Jul 08 '23 12:07 jbjonesjr