在用于IntelliJ的Gradle项目(2017.3)中,No Checkbox用于自动为空内容根创建空目录

问题描述 投票:2回答:1

在最新的IntelliJ IDEA(2017.3)中,创建Gradle项目时Create directories for empty content roots automatically没有可用的复选框选项。但大多数资源材料都引用了此选项。我们如何启用空内容根创建?

intellij-idea gradle
1个回答
7
投票

从另一个问题引用这个答案:https://stackoverflow.com/a/47089985/2067238

在最新的IntelliJ IDEA(2017.3)中,Create directories for empty content roots automatically对话框中没有New Project选项。但是我们可以去Preferences...-> Build, Execution, Deployment-> Gradle并检查这个选项。

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.