Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MeirP-3/dfef759853a1f77dc1407dc4945cbe77 to your computer and use it in GitHub Desktop.
Save MeirP-3/dfef759853a1f77dc1407dc4945cbe77 to your computer and use it in GitHub Desktop.
vscode python settings to solve `unable to watch for file changes in this large workspace` and hide auto generated files
  1. add the following settings to your project's folder under .vscode/settings.json:

If no such directory/file, create them

{
  "files.watcherExclude": {
    "**/.git/objects/**": true,
    "**/.git/subtree-cache/**": true,
    "**/node_modules/**": true,
    "**/.hg/store/**": true,
    "**/.eggs/**": true,
    "**/.venv/**": true,
    "**/.ropeproject/**": true,
    "**/*.egg-info/**": true,
    "**/__pycache__/**": true
  },
  "files.exclude": {
    "**/.eggs/**": true,
    "**/.venv/**": true,
    "**/.ropeproject/**": true,
    "**/*.egg-info/**": true,
    "**/__pycache__/**": true,
    "**/.git": true,
    "**/.svn": true,
    "**/.hg": true,
    "**/CVS": true,
    "**/.DS_Store": true
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment