What does it mean when the directory color is red in IntelliJ WebStorm?

So, I clicked something by mistake (was in the dropdown, so not sure what it was) and now one of my folders is red. red catalog

This is what a regular directory looks like: enter image description here

+3


source to share


2 answers


This stands for Excluded Root and is explained in the IntelliJ IDEA Docs as:

Excluded roots are those that IntelliJ IDEA "partially ignores".

Very limited coding assistance is provided for the excluded folder files. Classes contained in excluded folders do not appear in the code for inclusion suggestion lists; references to such classes are shown in the editor. When searching IntelliJ IDEA does not appear in excluded folders, etc.



Here 's a complete list of IntelliJ symbols and icons for future reference.

You can undo the exclusion by right-clicking the directory in the Project View and choosing Mark As Exception / Undo Exception.

+4


source


As a side note, if the folder itself is "gray" but the directory name is "red" it seems to mean " " a git root "or some odd one. Update: it's actually brown and means" unversioned - the file exists locally but is not in the repository and is not intended to be added. "see the key here . If you are using the" night "theme, then it appears as closer to red than brown.



red text

0


source







All Articles