在粘贴时将Java转换为Kotlin [英] Convert java to kotlin on paste

查看:194
本文介绍了在粘贴时将Java转换为Kotlin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我选中了下次不再显示此对话框",但事实证明,它将不再转换代码.

So I checked "Don't show this dialog next time", but it turns out that it will then never convert the code again.

我在哪里再次删除复选标记,以便在粘贴时可以回到将Java代码转换为kotlin的地方?

Where do I remove the checkmark again so I can get back to converting the java code to kotlin when pasted?

谢谢.

https://developer.android.com/kotlin/get-started.html#convert-to-kotlin-code

推荐答案

首选项->编辑器->常规->智能键->滚动至末尾->将发布的Java代码转换为Kotlin

Preferences -> Editor -> General -> Smart Keys -> Scroll to the end -> Convert posted Java code to Kotlin

这篇关于在粘贴时将Java转换为Kotlin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆