Disable spell checking on IntelliJ IDEA

2019-01-21 00:11发布

问题:

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

How can I disable it?

回答1:

Follow :

File >> Settings >> Editor >> Inspections >> Spelling >> Typo

-> Uncheck the options that you want to disable.

Source for more details - Spellchecking with intelliJ



回答2:

For 12.1.6 on OSX:

Preferences->Inspections->Spelling



回答3:

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

Option 2 - Disable spell-checking selectively

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



回答4:

In Windows and Android 2.3 ...

File -> Settings -> Inspections -> Spelling ... And Happy coding!



回答5:

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



回答6:

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



回答7:

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



回答8:

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".



回答9:

Use the annotation for the class / method / field

@SuppressWarnings("SpellCheckingInspection")


回答10:

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