如何在 android studio 的整个项目中进行拼写检查

How to do spell-checking throughout my project in android studio

我正在检查我用 android studio 开发的项目的拼写。我有多个文件来检查拼写。我的意思是多个字符串资源文件和一些布局(我知道直接在布局中使用字符串是一种不好的做法,但有一点使用并且以前开发过)。

Is there a way to find the find only the misspelled words? (like we do find a word in whole project). I searched a lot and didnt find any solution.

提前致谢

注意:我的项目只针对英文开发。我不使用任何其他语言

如果我理解正确,那么你想找到你在项目中拼错(写错)的单词。

为此,您可以:

  1. 在 Android Studio 的主菜单中:Analyze - Inspect code - select 整个项目 - 点击确定
  2. 在分析结果中找到拼写
  3. 里面通常会有 1 个子项 - 打字错误
  4. 在其中您会发现项目中所有可能的拼写错误(拼写错误),包括 method\variable 名称以及字符串资源中的拼写错误。
  5. 可以在模块名称文件夹下找到字符串资源拼写错误。