Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't work if you write variable for version number #11

Open
Drjacky opened this issue Aug 22, 2018 · 2 comments
Open

It doesn't work if you write variable for version number #11

Drjacky opened this issue Aug 22, 2018 · 2 comments
Labels

Comments

@Drjacky
Copy link

Drjacky commented Aug 22, 2018

If we write the dependency line like this:
implementation "com.squareup.retrofit2:retrofit:"
It works.
If we write the dependency line like this:
implementation "com.squareup.retrofit2:retrofit:2.4.0"
And put the cursor before 2.4.0, and push Ctrl + Shift + Space buttons,
It works.

But
If we write it like this one:
implementation "com.squareup.retrofit2:retrofit:${retrofit2Version}"
And put the cursor before $ sign, and push Ctrl + Shif + Space buttons, it doesn't bring anything!

@siosio siosio added the bug label Aug 22, 2018
@siosio
Copy link
Owner

siosio commented Sep 19, 2018

fix commit: 6f3e3b7

It works as below with Ctrl + Shift + Space.
output

@Drjacky
Copy link
Author

Drjacky commented Sep 28, 2018

@siosio Is it possible to improve it like when the developer push Enter on the suggested number row, update the version number on the variable, not overwrite the $version keyword?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants