Skip to content

Instantly share code, notes, and snippets.

@kousherAlam
Last active January 26, 2018 05:50
Show Gist options
  • Save kousherAlam/f991c590afea04f9acfad151b929ccd9 to your computer and use it in GitHub Desktop.
Save kousherAlam/f991c590afea04f9acfad151b929ccd9 to your computer and use it in GitHub Desktop.
Exclude Angular's all unnecessary files and folder form vscode :)
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
// root level folder exclue
"node_modules": true,
".vscode": true,
"e2e": true,
// root level file exclude
"**/.editorconfig": true,
"**/.angular-cli.json": true,
"**/.gitignore": true,
"**/karma.conf.js": true,
"**/package-lock.json": true,
"**/package.json": true,
"**/protractor.conf.js": true,
"**/tsconfig.json": true,
"**/tslint.json": true,
"**/README.md": true,
// exclude from sorce folder
"**/src/favicon.ico": true,
"**/src/main.ts": true,
"**/src/polyfills.ts": true,
"**/src/test.ts": true,
"**/src/tsconfig.app.json": true,
"**/src/tsconfig.spec.json": true,
"**/src/typings.d.ts": true,
"**/src/environments": true,
// exclude from any folder
"**/*.spec.ts": true,
}
@kousherAlam
Copy link
Author

kousherAlam commented Jan 26, 2018

To Hide all Unnecessary files/folder

Open .gitignore Find # IDEs and editors And Add .vscode in a new line
Go to File > Preference > Settings
Click on WORKSPACE SETTINGS
And Within settings Object Paste This code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment