用于显示 Linter 提示的 Android Studio 快捷方式? [英] Android Studio Shortcut For Showing Linter Hint?

查看:29
本文介绍了用于显示 Linter 提示的 Android Studio 快捷方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当 Android Studio linter 警告您有关错误(以黄色突出显示或以红色下划线)时,您可以通过将鼠标悬停在突出显示上来阅读错误信息.然后,您可以使用 +F1(在 Mac 上)扩展说明.有没有像 +F1 这样的快捷方式,但是为了让 linter 提示首先出现?我真的很想避免让一只手跳到鼠标上(并在那里悬停一秒钟,等待)并在每次 Android Studio 想说点什么时跳回来.

解决方案

您可以在

When the Android Studio linter warns you about an error (either highlighting it in yellow or underlining in red) you can read about the error by hovering your mouse over the highlight. You can then expand the explanation with +F1 (on a Mac). Is there a shortcut like +F1 but for making the linter hint show up in the first place? I'd really like to avoid having one hand jump to the mouse (and hover there for a second, waiting) and jump back every time Android Studio wants to say something.

解决方案

You can see warning message in the Status bar of Android Studio. See below

这篇关于用于显示 Linter 提示的 Android Studio 快捷方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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