GradleDependenciesHelperPlugin icon indicating copy to clipboard operation
GradleDependenciesHelperPlugin copied to clipboard

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

Open Drjacky opened this issue 7 years ago • 2 comments

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!

Drjacky avatar Aug 22 '18 08:08 Drjacky

fix commit: 6f3e3b7a15cbfad2900d1e6f475867e559f7ff04

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

siosio avatar Sep 19 '18 12:09 siosio

@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?

Drjacky avatar Sep 28 '18 11:09 Drjacky