NI6
NI6

Reputation: 2887

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?

Upvotes: 8

Views: 986

Answers (1)

davidism
davidism

Reputation: 127210

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.

Upvotes: 11

Related Questions