如何禁用函数名约定检查?

时间:2017-11-03 13:51:11

标签: android-studio lint

Android Studio 3强调了我的测试名称。因此,阅读和查看拼写检查更加困难。如何禁用它?

enter image description here

2 个答案:

答案 0 :(得分:1)

您还可以转到设置 - >检查 - >命名约定 - >功能命名约定并取消选中复选框。

enter image description here 顺便说一句,您也可以更改模式。

答案 1 :(得分:0)

通常你可以做的就是把光标放在函数名称上,点击<button class="gray" type="button" > click </button> <select id="fontMenu" > <option value="Arial">Arial</option> <option value="Times New Roman">Times New Roman</option> </select>,然后你会得到一堆选项。其中一个你可以选择(使用箭头),然后转到Alt + Enter然后你可以为你的项目停用它。