Lloyd Banks
Lloyd Banks

Reputation: 36699

How to Disable Spell Checking for All My Projects

Is there a way to disable spell check at the IDE level in PHPStorm? I need to individually disable spell check for all my projects right now which is a bit of a pest.

Upvotes: 84

Views: 45534

Answers (5)

LazyOne
LazyOne

Reputation: 165471

There is no "global" setting for existing projects -- it needs to be done for each project individually (Spell Checker is an inspection and Inspections are configured on per-project level).

You need to disable whole group at Settings/Preferences | Editor | Inspections | Proofreading (used to be Spelling before).

P.S. Sure, you could use IDE-wide Inspections profile instead of Project level one... but in reality you will not be using it: each project has different requirements (different tech stack used / different versions etc etc)

enter image description here


You can configure it to be disabled by default for any future new projects at File | New Projects Setup | Settings for New Projects... (previously was named as File | Default Settings).

https://www.jetbrains.com/help/phpstorm/2021.2/configure-project-settings.html#new-default-settings

enter image description here


Also check suggestion by @Amged -- edit your Color Scheme to simply remove any visual effects for misspelt words: Settings/Preferences | Editor | Colors & Fonts | General --> Errors & Warnings | Typo.

This way it will affect ALL projects straight away as long you use that Color Schema. It will also allow you to still list all typos if you run Code | Inspect Code....

The possible down-side: spell checker still runs; you will see extra 2 menu entries when right clicking on such words.

enter image description here

Upvotes: 157

Tural Asgarov
Tural Asgarov

Reputation: 1377

To change it globally in the Settings/Preferences | Editor | Inspections change Project default to Default.

Upvotes: 0

MH Fuad
MH Fuad

Reputation: 775

windows:File->Settings->Editor Now click Inspections item and find Spelling click check button and now apply and ok

Upvotes: 4

Omid N
Omid N

Reputation: 1035

I'm working with "CLion" but I'm pretty sure the settings are pretty much close to "phpstorm" as both of them are produced by the same company :)

Go to the File tab and then select settings. In the opened window select the items as the picture below and uncheck the spelling item.

enter image description here

Upvotes: 9

Amged Rustom
Amged Rustom

Reputation: 1868

You could leave the Spell Checking inspection enabled and just remove the visual effect in the editor by going to Settings | Colors & Fonts | General | Typo and unchecking Effect. This way it will not highlight the typos in the editor but when you manually run the code inspector the typos are listed.

Upvotes: 26

Related Questions