Ignore node_modules in Webstorm when using navigation pop-up

前端 未结 8 1621
执笔经年
执笔经年 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:43

    To exclude node_modules folder from all projects (only created after that change) you can add this folder to list of standard folders to ignore.

    1. Open PHPStorm, and close current project File > Close Project.
    2. On startup PHPStorm window click "Configure > Settings".

    3. Then navigate to Build, Execution, Deployment > Deployment > Options.

    4. Now you can set node_modules or anyone else to exclude by default for all new projects.

    P.s. Closing the current project is very important. If you do this settings with active project, this will affect only current project.

提交回复
热议问题