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

僤鯓⒐⒋嵵緔 提交于 2021-01-26 22:33:40

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!