Ignore node_modules in Webstorm when using navigation pop-up

前端 未结 8 1618
执笔经年
执笔经年 2020-12-23 11:00

Is it possible to ignore searching the node_modules folder when using WebStorm\'s navigation pop-up window (Command + Shift + N

8条回答
  •  忘掉有多难
    2020-12-23 11:57

    I'm not sure why, but I saw lots of files with "spec" on Ctrl+Shift+n (I can't publish images, sorry :( )

    I saw on the contextual menu over the node_modules: "Mark directory as": "excluded", "test sources root", "resources root"

    I went to settings > directories, and I saw the node_modules with red color and can't change it, but, on the left there is list without header (?), I'm not sure if it is the exclude list, but, there is an X, I pushed on it, and restarted the IDE and it works!

    If I see the contextual again, I see: "Mark directory as": "not exclude" and "test sources root". And in settings > directories I do not see on the lists, but red color on the folder node_modules (weird), I think it is so particular for this folder.

提交回复
热议问题