Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run PyCharm's spell checking against the whole project

I want to check the spelling in all files in my PyCharm project. Right now, I have to open each file and look for highlighted errors. Is there a way to run PyCharm's spell check on the whole project?

like image 532
NI6 Avatar asked Jun 16 '16 18:06

NI6


People also ask

How do I spell check a project?

Microsoft Project Spell Check Option 1 Press F7. Yes, it's that easy (and you can find this in my MS Project Shortcut List).

How do you do spell check in Pycharm?

Press Ctrl+Alt+S to open the IDE settings and select Editor | Natural Languages | Spelling. Select either the built-in project-level or application-level dictionary or disable the option to prompt you every time you save a word.

How do I set up spell check?

Click File > Options > Proofing, clear the Check spelling as you type box, and click OK. To turn spell check back on, repeat the process and select the Check spelling as you type box. To check spelling manually, click Review > Spelling & Grammar. But do remember to run spell check.


1 Answers

You can run inspections against scopes besides the current file. If the inspection profile has spell checking enabled (it does by default), you will get a view of all errors that it finds.

  1. Go to "Code -> Inspect Code..."

  2. Select the scope and profile, then click ok. "Whole Project" and "Project Default" should be fine.

  3. Expand the "Spelling" item in the results.

You can also create a profile with only the "Spelling" inspection enabled and run that profile to only see spelling-related messages.

like image 100
davidism Avatar answered Oct 04 '22 17:10

davidism