how to use user settings instead of workspace in vs code code example
Example: vscode settings difference user vs workspace
VS Code provides two different scopes for settings: User Settings - Settings that apply globally to any instance of VS Code you open. Workspace Settings - Settings stored inside your workspace and only apply when the workspace is opened.