1

I frequently have to edit my global settings.json, but not frequently enough to be able to use the open recent menu in VS Code.

Is there a key binding or single button I can press that opens my current settings.json in the current VS Code window? It's irritating to have to keep navigating to /Users/ME/Library/Application\ Support/Code/User/settings.json every time.

1 Answer 1

3

Not by default but, if you open up File | Preferences | Keyboard Shortcuts and search for JSON, you'll find there's a Preferences: Open Settings (JSON) item that you can assign a shortcut to.

I've set mine to Alt, to make it similar to Ctrl,, the workbench setting editor.

You can, of course, also store this in your global keybindings.json:

{ "key": "alt+,", "command": "workbench.action.openSettingsJson" } 
Sign up to request clarification or add additional context in comments.

1 Comment

You can also overwrite the default settings shortcut, which I do since the settings editor is so bad. On Mac that looks like { "key": "cmd-,", "command": "workbench.action.openSettingsJson" },

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.