S
S
solncebro2019-01-22 21:35:01
Visual Studio Code
solncebro, 2019-01-22 21:35:01

Visual Studio Code takes a long time to parse files on startup. How to turn off?

After starting the program, it takes a very long time to make a Parsing file in the working directory. Many libraries with dozens of dependencies with hundreds of files - he checks them EVERY TIME, the laptop slows down and heats up.
DmBXob9sJ4lEXA.jpg
How to disable completely or how to cache this process?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Balya, 2019-01-23
@solncebro

You can set exceptions in the Workspace by adding directories there that are not directly used in the work.

{
  "folders": [
    {
      "path": "."
    }
  ],
  "settings": {
    "files.exclude": {
      "**/.git": true,
      "dist": true,
      "node_modules": true
    }
  }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question