IntelliJ IDEA offers to extract values to constants.
The shortcut on my machine is Cmd
+Alt
+C
:
However, when I select a string in my Kotlin code and use the shortcut, nothing happens.
When I run Refactor This
, the option does not even appear:
.]2
I am using IntelliJ IDEA Ultimate Edition 2018.3.5 and Kotlin 1.3.21