275

I'm trying to disable spell checking in MacOS's IntelliJ IDEA version 8.1.

How can I disable it?

1
  • 3
    This applies to the Win version as well.
    – Almo
    Commented Mar 19, 2015 at 19:54

13 Answers 13

442

Follow :

File >> Settings >> Editor >> Inspections >> Proofreading >> Typo

-> Uncheck the options that you want to disable.

Source for more details - Spellchecking with intelliJ

10
  • 29
    actually, alt+enter then "correct word" then "disable" works fine too
    – Ven
    Commented Jul 1, 2013 at 17:10
  • 3
    (+1) I hate to see my code with those red line on the bottom. PD: Thanks.
    – BlaShadow
    Commented Jan 23, 2014 at 4:56
  • 8
    Android Studio 1.0.2: File>>Settings>>Inspections>>Spelling>>Typo but File>>Settings and search "spelling" is better! :)
    – Evilripper
    Commented Feb 13, 2015 at 16:54
  • 3
    Another important setting: File >> Settings >> Version Control >> Commit Dialog >> Spelling.
    – Gogowitsch
    Commented Aug 11, 2017 at 9:42
  • 2
    Using this answer, and selecting "Default IDE" profile in the top of the setting popup will store this setting globally (for all your projects). Then you will be happy.
    – Mat
    Commented Mar 22, 2018 at 17:27
24

For 12.1.6 on OSX:

Preferences->Inspections->Spelling

22

I've put together a "visual solution" here (inspired by a previous solution above/below by @user277236 in this forum!).

In Webstorm you can either:

  1. Disable spell checking entirely, or
  2. Disable spell checking selectively (e.g. just the code), but enable for some others (e.g. comments).

I'm on MacOS Webstorm (version 2016.1.2). First thing first, go to the "Inspection" pane like this...

Webstorm -> Preferences -> search for "Inspections" 

or...

Webstorm -> Preferences -> Editor -> Inspections

Within the Inspection search box, search "Spelling".

Option 1 - Disable spell-checking entirely

enter image description here

Option 2 - Disable spell-checking selectively

enter image description here

I've gone for option 2 myself. This seems to work for me so far.

1
  • You might add how to disable for the current js file: // noinspection SpellCheckingInspection (see supress-spellchecker), and <!--suppress SpellCheckingInspection --> for HTML (That was not exactly the question, but I laded here when searching).
    – kca
    Commented Mar 7, 2023 at 17:31
13

Use the annotation for the class / method / field

@SuppressWarnings("SpellCheckingInspection")
8

In Windows and Android 2.3 ...

File -> Settings -> Inspections -> Spelling ...

5

They need to introduce @spellcheck:off like the formatter.

1
  • 1
    There is an annotation for that @SuppressWarnings("SpellCheckingInspection") Commented Dec 19, 2016 at 11:16
5

update for 2020

File >> Settings >> Editor >> Inspections >> Proofreading (uncheck all)

enter image description here

0
4

For Android Studio, I found "Inspections" directly under "Project Settings," and not under "IDE Settings/Editor".

2

If you want to suppress in a file, you can use comment in file like <!--suppress SpellCheckingInspection --> in html.

1

On Android Studio version 1.1 on Mac setting off Spelling from File menu does not work.

Set spelling from Android Studio > Preferences > Inspections.

Uncheck Typo and uncheck Spelling located in the first group of options "Project Settings".

1

If you want to disable it for all future project, you can disable it in the new project setting:

File | New Projects Settings | Preferences for New Projects...

source: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010504879-Disable-spellcheck-everywhere-globally-

0

In MS, you can use Alt+Enter to disable the inspections.

0

I have just find out that the typo inspection feature is provided by the Grazie plugin, which comes pre-installed in IntelliJ. You can just disable displugin in the setting and all typo inspection feature will no longer be available.

Click here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.