1,问题:例如,本人设置的自动添加的注释模板中,本人姓名使用汉语拼音的英文书写格式,然后就出现拼写检查提示:
Typo: In word 'Weichang' less... (Ctrl+F1)
Inspection info: Spellchecker inspection helps locate typos and misspelling in your code, comments and literals, and fix them in one click
2,解决方式:
方法 1)鼠标放到被提示的单词上,然后按时按键:Alt+Enter,
选中:save xxx to project-level dictionary, 然后回车确认
方法 2)File->settings,打开设置页面,如下图所示,添加不需要被检查的单词即可
(注意,虽然代码注释中是Zhong,但是这里要写成全小写)