DEV Community

Discussion on: Switching back to my old buddy Sublime Text from VS Code πŸ€·πŸ»β€β™‚οΈ

Collapse
 
deckchairlabs profile image
James Edmonds

I forget exactly what I needed to do to improve the performance, but while working in a large workspace I've often found the culprit is the file watcher service. You can add directories to exclude from intellisense, mainly node_modules and your build output directory. The only directory intellisense should care about is your source code. Doing so led to vscode becoming much more responsive. I might make a post about it once I've finished moving house...

Collapse
 
utkarsh profile image
Utkarsh Talwar

That's a good idea. A post to look forward to. πŸ˜ƒ

Collapse
 
x1k profile image
Asaju Enitan

please make a post about it, I found out VSCode is best for my Angular projects but old processor makes it a hassle

Collapse
 
lishine profile image
Pavel Ravits

There is problem with ubuntu regarding file watching with vscode, comparing to windows or mac. And excluded node_modules, but still I was forced to increase the limit in linux. I don't know, maybe causes some issues with cpu later...

Collapse
 
deckchairlabs profile image
James Edmonds

Looks like somebody beat me to it! dev.to/vaidhyanathan93/ulitmate-vs... main sections to note are the files.watcherExclude, files.exclude and the search.exclude, this may require customisation based on your setup, but you could also do this per workspace. Another tip is to disable extensions you don't need per workspace.

Collapse
 
sarthology profile image
Sarthak Sharma

That would be a great idea James 😊