Disable spell checking on IntelliJ IDEA

2019-01-21 00:09发布

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

How can I disable it?

10条回答
ら.Afraid
2楼-- · 2019-01-21 00:44

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.

查看更多
闹够了就滚
3楼-- · 2019-01-21 00:46

Use the annotation for the class / method / field

@SuppressWarnings("SpellCheckingInspection")
查看更多
萌系小妹纸
4楼-- · 2019-01-21 00:47

In Windows and Android 2.3 ...

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

查看更多
该账号已被封号
5楼-- · 2019-01-21 00:53

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

查看更多
别忘想泡老子
6楼-- · 2019-01-21 00:54

Follow :

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

-> Uncheck the options that you want to disable.

Source for more details - Spellchecking with intelliJ

查看更多
对你真心纯属浪费
7楼-- · 2019-01-21 00:55

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

查看更多
登录 后发表回答