Skip to content

Instantly share code, notes, and snippets.

@Telematica
Last active November 27, 2022 03:14
Show Gist options
  • Save Telematica/fcf4abd7adf42a55952c76b374e86708 to your computer and use it in GitHub Desktop.
Save Telematica/fcf4abd7adf42a55952c76b374e86708 to your computer and use it in GitHub Desktop.
Visual Studio Code Tricks

Tricks

Refresh Window

{
  "key": "ctrl+f5",
  "command": "workbench.action.reloadWindow",
  "when": "editorTextFocus"
}

User-Specific Workspace Settings in VS Code

Sample file example.code-workspace

{
    "folders": [
        {
            "path": "."
        },
        {
            "path": "nested"
        }
    ],
    "settings": {
        "window.zoomLevel": 1,
        "editor.fontSize": 8
    }
}

With nested containing .vscode/settings.json:

{
    "window.zoomLevel": 2,
    "editor.fontSize": 16
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment