Erik
Erik

Reputation: 4563

How do I disable 'Convert Java to Kotlin upon paste' in IntelliJ IDEA?

When IntelliJ IDEA detects I'm pasting a piece of copied Java code into a Kotlin file, it offers me to convert the pasted Java to Kotlin. This dialog contains a 'Do not ask again next time checkbox'. I checked this box and selected 'Yes', but now I want to undo my default choice. How do I do this?

I've looked and searched in IntelliJ IDEA's preferences, but haven't found the respective checkbox. Is it actually in the settings, or can I somehow reset default checkbox selections?

Upvotes: 23

Views: 3747

Answers (1)

Andrei Sfat
Andrei Sfat

Reputation: 8606

Preferences -> Editor -> General -> Smart Keys and somewhere down below you should find your checkbox (took me a while to find this, phew)

Convert Kotlin to Java

Upvotes: 33

Related Questions