This is an Android Studio / IntelliJ IDEA plugin for search and complete dependencies from google() and mavenCentral() in Gradle projects.
This project base on android-dependencies-completion , reference project TranslationPlugin.
This plugin is inspired by android-dependencies-completion and uses some of its source code.
- support google and mavenCentral
and nexus,include android's
jetpack
/androidx
/support
packages. - support add custom repository.
- support generating variable and custom variable.
- dependencies variable offline covert.
- simple and clear UI.
- Plugin website:
- Download file: https://github.com/RootCluster/dependencies-completion/releases
Settings :Code Completion -> SmartType Completion -> Smart Type Completion(Enabled)
Default Shortcut Key
- macOS:^(control) + ⇧(shift) + Space
- Windows:Ctrl + Alt + Space
- Linux:Ctrl + Alt + Space
All the following operations are manual, please note.
- input dependencies info in
xxx.gradle
file - then press
Shortcut Key
(eg:^(control) + ⇧(shift) + Space)
- append placeholder
- append
'#'
to the end of the input string will generate a version variable - append
'##'
to the end of the input string will generate a full variable
- append
- then press
Shortcut Key
- append placeholder
- append
'#'+custom
to the end of the input string will generate a version variable - append
'##'+custom
to the end of the input string will generate a full variable
- append
- then press
Shortcut Key
dependencies-completion is Open Source software plugins released under the MIT License.