问题描述
有没有办法在PHPStorm的IDE级别上禁用拼写检查?我现在需要为我的所有项目单独禁用拼写检查,这有点有害.
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.
推荐答案
现有项目没有全局"设置-需要针对每个项目单独进行(拼写检查工具是检查和检查在每个项目级别进行配置).
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).
您需要在Settings/Preferences | Editor | Inspections | Spelling
禁用整个组.
您可以将其配置为默认情况下任何将来的新项目禁用:File | Default Settings | Editor | Inspections | Spelling
You can configure it to be disabled by default for any future new projects: File | Default Settings | Editor | Inspections | Spelling
也请检查@Amged的建议-编辑您的颜色架构以简单地删除拼写错误的单词的任何视觉效果:Settings/Preferences | Editor | Colors & Fonts | General --> Errors & Warnings | Typo
.
Also check suggestion by @Amged -- edit your Color Schema to simply remove any visual effects for misspelt words: Settings/Preferences | Editor | Colors & Fonts | General --> Errors & Warnings | Typo
.
这样,只要您使用该颜色架构,它将立即影响所有项目.如果您运行Code | Inspect Code...
,它还将允许您仍然列出所有错别字.
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...
.
可能的缺点:拼写检查器仍在运行;右键单击此类字词,您会看到额外的2个菜单项.
The possible down-side: spell checker still runs; you will see extra 2 menu entries when right clicking on such words.
这篇关于如何为我的所有项目禁用拼写检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!