简体   繁体   中英

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

I am spell checking my project which is developed with android studio. I have multiple files to check spelling. I mean multiple string resource files and a few layouts(I know its a bad practive to have strings directly in layout, but had a little usage and previously developed).

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.

thanks in advance

Note : My project is developed only for English. I don't use any other languages

If I understood you correctly, then you want to find the words, that you misspelled (write incorrectly) in your project.

To do this you can:

  1. In main menu of Android Studio: Analyze - Inspect code - select Whole project - click OK
  2. In the analyse results find Spelling
  3. Inside it there will typically be 1 sub-item - Typo
  4. Inside it you sill find all found possible typos (misspelling) over the project including method\\variable names as well as typos in the string resources.
  5. String resource typos can be found under the module name folders.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM