Skip to content

RootCluster/dependencies-completion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dependencies-completion

Language: 🇺🇸 🇨🇳

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.

Features

  • 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.

Installation

Usage

SettingsCode 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.

Normal Operation

  1. input dependencies info in xxx.gradle file
  2. then press Shortcut Key (eg:^(control) + ⇧(shift) + Space)

Generating Variable

  1. 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
  2. then press Shortcut Key

Custom Variable

  1. 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
  2. then press Shortcut Key

License

dependencies-completion is Open Source software plugins released under the MIT License.

About

Gradle Dependencies Code Completion , Searched by Maven'repo and Google'repo , Mainly for Android developers , custom remote repository .

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 100.0%