Intellij:是否有全局目录排除模式选项? [英] Intellij: Is there a Global Directory Exclude by Pattern option?

查看:139
本文介绍了Intellij:是否有全局目录排除模式选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在所有项目中都有相同的目录结构。

I have the same directory structure in all my projects.

我只想每次都排除相同的目录,而不是为每个项目选择每个目录,而必须选择标记目录为 - > ;已排除

I would just like to exclude the same directories every time, instead of choosing each directory for every project and having to select Mark Directory as -> Excluded

例如:
bower-components / node-modules 等...

这可能吗?我找不到那个选项。

Is that possible? I couldn't find that option.

谢谢!

推荐答案

设置|编辑|文件类型|要忽略的文件和文件夹

Settings | Editor | File Types | Files and folders to ignore

(请注意,将其应用于 node-modules 可能不是最好的主意,因为如果如果这样做,IntelliJ IDEA中的JS支持将不会在您使用的任何节点模块中看到任何声明,因此您将失去代码完成和导航支持。)

(Note that applying it to node-modules might not be the best idea because if you do this, the JS support in IntelliJ IDEA will not see any declarations in any of the node modules that you use, so you'll lose on code completion and navigation support.)

这篇关于Intellij:是否有全局目录排除模式选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆