我想为整个项目运行lint。但我想要的是给定文件中的警告和错误。
有没有办法在Android Studio中执行此操作?
提前致谢。
转到该文件然后按Command + Shift + A将打开Enter action or option name. TypeInspect Code`并按Enter键。在那里,您可以指定仅检查某个单个文件。
Command + Shift + A
Enter action or option name. Type