Mattia
Mattia

Reputation: 2281

Automatically exclude ignored directory in WebStorm?

I have a monorepo with a lot of build directories. These are ignored in the .gitignore file but if I analyze the project or open one of the files inside WebStorm still analyzes them and reports tons of errors.

I can prevent this by manually excluding each folder but there's tons of them.

Is there a way to tell WebStorm that any ignored file should also be excluded from analysis?

Upvotes: 0

Views: 1109

Answers (1)

lena
lena

Reputation: 93728

Currently, if you open .gitignore, there will be a message right at the top offering to exclude everything that is ignored but not excluded yet. It should make it easier to exclude everything that is ignored.

Upvotes: 3

Related Questions