如何在IntelliJ IDEA中禁用单个文件或文件夹的拼写检查?
You can
Mark as Plain Text
a folder from its context menu; eg right click the folder and select Mark as Plain Text . This will disable "inspections and code completion", which may be more of a broadsword approach than you're looking for.
Reference: JetBrains IntelliJ docs .
You can also add words to the dictionary , disable the spellchecker on a per-project level (in WebStorm it's Project Settings > Editor > Inspections > Spelling > Typo ), or (if you're looking for more of a scalpel) even manually configure Inspection Severities .
the easiest and most flexible way, I've found is to define a new scope ( File Settings - Appearence & Behaviour - Scopes ).
And then use this for the Spell-check inspection ( File - Settings - Editor - Inspections - Spelling )
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.