如何让IntellijIDEA忽略正在进行中的类文件? [英] How to make IntellijIDEA ignore work-in-progress class files?

查看:149
本文介绍了如何让IntellijIDEA忽略正在进行中的类文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在IntellijIDEA工作时,如何告诉它忽略可能有问题的类文件,我想暂停一段时间?

When I'm working in IntellijIDEA how do I tell it to ignore a class file that may have problems and I want to leave dormant for a while?

它当我编译我正在处理的任何类,直到我修复第一个休眠类时,将抛出错误。

It will throw errors when I compile whatever class I am working on until I fix the first "dormant" class.

我尝试将我的类添加到伪包中,但Intellij不喜欢这样,因为路径不匹配。

I have tried adding my class to a bogus package but Intellij doesn't like that either because the path doesn't match.

推荐答案

设置 | 编译器 | 排除,在那里添加您的WIP文件:

Settings | Compiler | Excludes, add your WIP files there:

这篇关于如何让IntellijIDEA忽略正在进行中的类文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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