Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JSoon/1c2d9deec6bce1c19af91ed098319ed7 to your computer and use it in GitHub Desktop.
Save JSoon/1c2d9deec6bce1c19af91ed098319ed7 to your computer and use it in GitHub Desktop.

Revisions

  1. @messified messified renamed this gist Oct 30, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. @messified messified created this gist Oct 30, 2019.
    35 changes: 35 additions & 0 deletions vscode_optimize.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,35 @@
    # VSCode Reduce CPU Usage

    Update your settings.json with the code below, then restart vscode:

    ```
    {
    "files.exclude": {
    "**/.git": true,
    "**/.svn": true,
    "**/.hg": true,
    "**/CVS": true,
    "**/.DS_Store": true,
    "**/tmp": true,
    "**/node_modules": true,
    "**/bower_components": true,
    "**/dist": true
    },
    "files.watcherExclude": {
    "**/.git/objects/**": true,
    "**/.git/subtree-cache/**": true,
    "**/node_modules/**": true,
    "**/tmp/**": true,
    "**/bower_components/**": true,
    "**/dist/**": true
    },
    "search.exclude": {
    "**/node_modules/**": true,
    "**/bower_components": true,
    "**/dist/**": true,
    "**/tmp/**": true,
    "**/.git/objects/**": true,
    "**/.git/subtree-cache/**": true
    }
    }
    ```