gpt4 book ai didi

intellij-idea - Intellij 排除文件被编译

转载 作者:行者123 更新时间:2023-12-03 15:13:23 32 4
gpt4 key购买 nike

我正在尝试将项目中的特定文件排除在编译之外。

根据 Intellij IDEA 文档,您可以通过“将文件标记为纯文本”来执行此操作。

但是,此功能所在的项目 View 中的上下文菜单没有此类操作。我正在使用 Intellij 13.02 版。这是我的上下文菜单的样子:

enter image description here

最佳答案

在文件 > 设置 > 构建、执行、部署 > 编译器 > 排除下,添加一个条目。

enter image description here

任何尝试运行此处指定的路径都将导致 ClassNotFoundException ,也是一个非常重要的类指标。

enter image description here

关于intellij-idea - Intellij 排除文件被编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22291986/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com