问题
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 no 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?
回答1:
Preferences -> Editor -> General -> Smart Keys
and somewhere down below you should find your checkbox (took me a while to find this, phew)
来源:https://stackoverflow.com/questions/47984379/how-do-i-disable-convert-java-to-kotlin-upon-paste-in-intellij-idea