intellij-plugin-save-actions icon indicating copy to clipboard operation
intellij-plugin-save-actions copied to clipboard

Request: add functionality for Kotlin too

Open AndroidDeveloperLB opened this issue 4 years ago • 6 comments

For Java it's great to have this plugin. It could be nice to have for Kotlin too. For example, just as we have auto-adding of "final" for variables, it could be nice to auto-replace from "var" to "val".

AndroidDeveloperLB avatar Jan 13 '21 07:01 AndroidDeveloperLB

Hello @AndroidDeveloperLB :wave:, thank you for opening this. I've wrote some Kotlin last year and I though the same! But I'm swamped right now so I won't have time for this. Let's keep this issue open though

If anyone is interested in this, please :+1:

dubreuia avatar Jan 17 '21 18:01 dubreuia

Hi Thanks

AndroidDeveloperLB avatar Jan 17 '21 19:01 AndroidDeveloperLB

At least reformatting the code with the Kotlin formatter should work.

StefanOltmann avatar Apr 16 '21 17:04 StefanOltmann

@StefanOltmann You mean you added it?

AndroidDeveloperLB avatar Apr 16 '21 19:04 AndroidDeveloperLB

@AndroidDeveloperLB Sorry, no. I wanted to say that I think "reformat code" is the least thing that "Save Actions" should be able to do even if all other Java specific options don't work.

StefanOltmann avatar Apr 16 '21 19:04 StefanOltmann

@StefanOltmann Oh ok.

AndroidDeveloperLB avatar Apr 16 '21 20:04 AndroidDeveloperLB