获取给定文件中的lint警告和错误

问题描述 投票:0回答:1

我想为整个项目运行lint。但我想要的是给定文件中的警告和错误。

有没有办法在Android Studio中执行此操作?

提前致谢。

android android-studio lint
1个回答
0
投票

转到该文件然后按Command + Shift + A将打开Enter action or option name. TypeInspect Code`并按Enter键。在那里,您可以指定仅检查某个单个文件。

© www.soinside.com 2019 - 2024. All rights reserved.