Disable spell checking on IntelliJ IDEA

限于喜欢 提交于 2019-11-28 15:26:08
user277236

Follow :

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

-> Uncheck the options that you want to disable.

Source for more details - Spellchecking with intelliJ

For 12.1.6 on OSX:

Preferences->Inspections->Spelling

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.

In Windows and Android 2.3 ...

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

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

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

Use the annotation for the class / method / field

@SuppressWarnings("SpellCheckingInspection")

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

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

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!