[英]Android Development Studio (bumblebee) Kotlin question Suggested Fix not working
I'm using Android Development Studio (Bumblebee).我正在使用 Android 开发工作室(大黄蜂)。 When I am developing a Java application, If I have a TextView with hard coded text I see the yellow triangle for Suggested Fix.当我开发 Java 应用程序时,如果我有一个带有硬编码文本的 TextView,我会看到建议修复的黄色三角形。 When developing Kotlin, with the same TextView hard coded text, I'm not seeing the yellow triangle for Suggested Fix.在使用相同的 TextView 硬编码文本开发 Kotlin 时,我没有看到建议修复的黄色三角形。 Does anyone know how to fix this.有谁知道如何解决这一问题。 I'm new to Kotlin and would like to have all of the assistance I can get when learning it.我是 Kotlin 的新手,我希望在学习它时获得所有帮助。 Also, I'm not having any issue when developing a Java App.此外,我在开发 Java 应用程序时没有任何问题。
Thanks for the help.谢谢您的帮助。
just move the cursor to the position that is marked as warning or error and if you don't see the icon of help then press ALT+ENTER
if you are using Windows or Linux or OPTION+ENTER
if you are using Mac. just move the cursor to the position that is marked as warning or error and if you don't see the icon of help then press ALT+ENTER
if you are using Windows or Linux or OPTION+ENTER
if you are using Mac. this will open the dialog as you usually do with tapping the icon.这将像您通常点击图标一样打开对话框。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.