简体   繁体   English

如何在Eclipse C / C ++版中检查纯文本文件的拼写?

[英]How can I check the spelling in plain text files in eclipse c/c++ edition?

I'm using the Eclipse IDE for C/C++ Developers, Luna Release (4.4.0). 我正在使用面向C / C ++开发人员的Eclipse IDE,Luna版本(4.4.0)。 I enabled the spell checking (Preferences: General->Editors->Text Editors->Spelling: Enable Spell Checking) and I'm using a user defined dictionary. 我启用了拼写检查(首选项:“常规”->“编辑器”->“文本编辑器”->“拼写检查:启用拼写检查”),并且正在使用用户定义的字典。

The spell checking works perfect in C/C++ source files but I am puzzled how to do the spell checking of texts in plain text files. 拼写检查在C / C ++源文件中可以完美地工作,但是我很困惑如何对纯文本文件中的文本进行拼写检查。 There is no automatical spell check or options like "Do spell check" in the context menu or in the main menu. 上下文菜单或主菜单中没有自动拼写检查或诸如“进行拼写检查”之类的选项。

What am I missing? 我想念什么?

Since this is still open, a workaround: 由于这仍然是开放的,因此一种解决方法:

I am having a similar problem with getting the Eclipse Luna CDT C/C+ spell-checking engine to handle standalone *.dox files (no problem with inline Doxygen comments within source files). 使用Eclipse Luna CDT C / C +拼写检查引擎来处理独立的* .dox文件时,我遇到了类似的问题(源文件中的内联Doxygen注释没有问题)。

The only workaround I could find ( http://thomasplagwitz.com/2015/03/02/getting-eclipse-cdt-to-spell-check-non-source-files/ ) was renaming my *.dox files to something that the spell checker seems to consider relevant, like *.dox.cpp. 我能找到的唯一解决方法( http://thomasplagwitz.com/2015/03/02/getting-eclipse-cdt-to-spell-check-non-source-files/ )将我的* .dox文件重命名为拼写检查器似乎认为是相关的,例如* .dox.cpp。

Hth 心连心

澄清错误

The main issue is that the word is recognized to be a typo, yet there are no quick-fix proposals. 主要问题是该单词被认为是错字,但没有快速解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM