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
Search for a setting with a given name and category, see more about the Setting object:
// look for a setting named 'Auto Save' under 'Editor' categoryconstsetting=awaitsettingsEditor.findSetting("Auto Save","Editor");// find a setting in nested categories, e.g. 'Enable' in 'Files' > 'Simple Dialog'constsetting1=awaitsettingsEditor.findSetting("Enable","Files","Simple Dialog");
Switch Settings Perspectives
VSCode has two perspectives for its settings: 'User' and 'Workspace'. If your VSCode instance loads from both user and workspace settings.json files, you will be able to switch the perspectives in the editor:
// switch to Workspace perspectiveawaitsettingsEditor.switchToPerspective("Workspace");