Search code examples
extjswebstorm

Webstorm not ignoring directories marked "excluded"


I have marked the WebContent/desktop/build directory as excluded, but Webstorm is still trying to index it. This is annoying whenever I build, and I have to wait for Webstorm to finish indexing before I can do anything.

How do I make it not index anything in the folder?

Here's what my Project Directories look like

Workspace

I've set the project to exclude the build directory

Excluded Folders

Yet Still...

Indexing


Solution

  • Folders marked as JavaScript Libraries can't be excluded from indexing. And the WebContent directory is a library folder. Remove this folder from JavaScript libraries (Settings/Languages & Frameworks/JavaScript/Libraries, select your library and press Remove...). You can create a new library and add only those subfolders of WebContent directory you need being indexed to it