Gradle plugins/dependencies 坐标自动补全IntelliJ IDEA插件 插件地址
- 使用IntelliJ IDEA Smart Type Completion功能自动补全Gradle脚本中dependencies及plugins的依赖库坐标
- 支持Gradle groovy脚本(.build)及kotlin脚本(.build.kts)
-
默认使用mavenCentral搜索dependencies,使用Gradle Plugins搜索plugins
-
支持通配符*
-
支持通过类名搜索依赖库坐标
在dependencies区域使用 "c:"(classname) 或 "fc:"( fully-qualified classname )搜索依赖库坐标
例子:
compile("fc:org.junit.Test") compile("c:Junit")
- 可选添加特定maven仓库到repositories.Use
Show Intention Actions
action (Alt + Enter
or ⌥⏎) and chooseAdd specified repository to repositories.
- 使用前确定Smart Type Completion功能开启
- 可选使用
Use Nexus2 Repository Search
(Nexus2),Use Artifactory Repository Search
搜索
Apache License Version 2.0
Thanks to JetBrains for offering IDE support to develop this Open Source project.