You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
I noticed that trying to add global connections in the user settings.json was not working, but adding via wizard which adds them in the workspace level did.
After removing the SQL tools block from settings and reloading I now see the global connections.
To Reproduce
Steps to reproduce the behavior:
Edit you User settings.json and add a sample connection, i.e.:
Now add a connection via the Wizard, this will save it in the workspace folder (.vscode/settings.json), the connections added in the global config will go away
Expected behavior
Both should show, perhaps grouped by "Global"/"Local", or if this is an intentional feature, perhaps make it optional. On that subject when adding via wizard it would be ideal to state this is being added in the workspace not user (oh btw, if you client "edit settings.json it actually defaults to the user one, which is a bit confusing)
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
SQLTools Version 0.23.0
VSCode Version: 1.60.2
OS: macOS
Driver:
PostgreSQL/Redshift
MySQL/MariaDB
MSSQL/Azure
SQLite
Other? Which...
Database version: [e.g. MySQL v5.6, PostgreSQL vX...]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
gjsjohnmurray
changed the title
User level "settings.json" is ignore if a local ".vsocde/settings.json" sqltools.connections block exists
User level "settings.json" is ignore if a local ".vscode/settings.json" sqltools.connections block exists
Sep 9, 2022
Describe the bug
A clear and concise description of what the bug is.
I noticed that trying to add global connections in the user settings.json was not working, but adding via wizard which adds them in the workspace level did.
After removing the SQL tools block from settings and reloading I now see the global connections.
To Reproduce
Steps to reproduce the behavior:
Now add a connection via the Wizard, this will save it in the workspace folder (.vscode/settings.json), the connections added in the global config will go away
Expected behavior
Both should show, perhaps grouped by "Global"/"Local", or if this is an intentional feature, perhaps make it optional. On that subject when adding via wizard it would be ideal to state this is being added in the workspace not user (oh btw, if you client "edit settings.json it actually defaults to the user one, which is a bit confusing)
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: