禁用特定文件夹上的 Intellij 索引 [英] Disable intellij indexing on specific folder

查看:32
本文介绍了禁用特定文件夹上的 Intellij 索引的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中,我有一个 .deploy 文件夹,当我在本地部署我的应用程序时,它会被创建/更新.是否可以禁用该文件夹的索引?每当我部署时,一切都会变慢,这真的很烦人 - 我必须等待几分钟,而 intellij 正在做不必要的索引.在模块视图中,我排除了该文件夹,但没有帮助.任何帮助将不胜感激.

In my project I have .deploy folder which is created/updated when I deploy my app locally. Is it possible to disable indexing on that folder? Everything slows down whenever I deploy and it's really annoying - I have to wait a few minutes whilist intellij doing unnecessary indexing. In module view I excluded that folder but it's not helping. Any help would be appreciated.

推荐答案

File | 将此文件夹标记为排除项目结构 |模块 |来源标签.

Mark this folder as Excluded in the File | Project Structure | Modules | Sources tab.

编辑:还要确保它没有作为库添加到项目中.

Edit: also make sure it's not added as a library in the project.

这篇关于禁用特定文件夹上的 Intellij 索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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