facebook / ktfmt

A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
https://facebook.github.io/ktfmt/
Apache License 2.0
857 stars 66 forks source link

ver 1.1.0.51 update breaks ktfmt intellij plugin setting screen if style is "Dropbox" #486

Open funkyidol opened 2 weeks ago

funkyidol commented 2 weeks ago

The latest update 1.1.0.51 has a breaking change which removes " Dropbox" style. This breaks the plugin settings screen as it doesnt load if the formatting style is currently set to dropbox.

https://github.com/facebook/ktfmt/commit/4a393bb8c1156a4a0fd1ab736c02ca8dbd39a969

Workaround:

hick209 commented 2 weeks ago

Thanks for reporting it @funkyidol!

Do you think this is something we could fix on ktfmt's end or did you just wanted to make sure we are aware of this and share a workaround?

funkyidol commented 1 week ago

I wanted to do both, share the workaround and bring it to the notice of the ktfmt team so that the issue can be addressed in the intellij plugin via an update.