简体   繁体   English

我可以在不导入IDEA的情况下获得gradle支持吗?

[英]Can I have gradle support in IDEA without importing it?

I have quite big IDEA project which we incrementally migrate to gradle. 我有一个很大的IDEA项目,我们会逐步迁移到gradle。 I don't want to "import" newly migrated parts right now, but I do want to have IDEA support (syntax highlighting, code completion, etc) for writing gradle scripts. 我现在不想“导入”新迁移的零件,但是我确实希望有IDEA支持(语法突出显示,代码完成等)来编写gradle脚本。 From brief searching it is still not obvious how to get it. 从简短的搜索中,如何获得它仍然不是很明显。 Is it possible it all? 有可能吗?

只要您已安装并启用了Groovy插件,并且在设置>编辑器>文件类型 *.gradle列为“ Groovy”的注册模式,那么在编辑build.gradle文件时,您应该会获得groovy功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在IDEA中似乎没有gradle导入支持 - Seemingly no gradle import support in IDEA IntelliJ Idea 2018.2没有用于导入Gradle项目的选项 - IntelliJ Idea 2018.2 no option for importing gradle project IntelliJ IDEA是否支持多模块Gradle? - Multi-module Gradle support in IntelliJ IDEA? 为什么当我更新 build.gradle 时,IDEA 需要很长时间才能导入/同步更改? - Why IDEA taks a long time to importing / sync changes when I update a build.gradle? IDEA - 如何在.gradle 文件的下一行放置大括号? - IDEA - How can I place braces on the next line for .gradle files? 我们如何将 IntelliJ IDEA 中的 maven 和 gradle 项目与源代码浏览支持集成? - How can we integrate maven and gradle projects in IntelliJ IDEA with source browsing support? IntelliJ IDEA + Gradle-如何记录从IDE运行的长时间运行的Gradle任务? - IntelliJ IDEA + Gradle - How can I log a long running Gradle task run from the IDE? 使用 Gradle 将 Grails 项目导入 IntelliJ IDEA 失败 - Importing Grails project to IntelliJ IDEA using Gradle fails 如何在不使用Gradle的情况下将Gradle项目转换为脱机编译 - How can I convert a Gradle project to be compiled offline without Gradle 将现有的 gradle 项目导入 IntelliJ IDEA 时出错 - Error when Importing an existing gradle project into IntelliJ IDEA
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM