Skip to content

Disable the connection showing up in vscode folder? #1327

Answered by gjsjohnmurray
BennyAlex asked this question in Q&A
Discussion options

You must be logged in to vote

Yes it is. You can put your connection definitions into the user-level settings.json file instead of the folder-level one that lives in the .vscode folder. Connections defined at user level are available to you regardless of which folder or xxx.code-workspace file you have open. They are even usable when no folder/workspace is open.

When you use the connection wizard to add a connection, the JSON will be added to one of three places:

  • If no folder or workspace is open it will be added yo the user-level settings.json
  • If a multi-root (or single-root) workspace is open from an XXX.code-workspace file it will be added to the settings object in that file.
  • If a folder is open it will be added t…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by BennyAlex
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants