dubreuia / intellij-plugin-save-actions

Supports configurable, Eclipse like, save actions, including "organize imports", "reformat code" and "rearrange code".
MIT License
531 stars 101 forks source link

Request: add functionality for Kotlin too #355

Open AndroidDeveloperLB opened 3 years ago

AndroidDeveloperLB commented 3 years ago

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

dubreuia commented 3 years ago

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:

AndroidDeveloperLB commented 3 years ago

Hi Thanks

StefanOltmann commented 3 years ago

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

AndroidDeveloperLB commented 3 years ago

@StefanOltmann You mean you added it?

StefanOltmann commented 3 years ago

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

AndroidDeveloperLB commented 3 years ago

@StefanOltmann Oh ok.