c++ - 使用 emacs 对 C++ 代码中的注释进行拼写检查

标签 c++ emacs spell-checking

有没有办法使用 emacs 对 C++ 代码中的注释进行拼写检查?

最佳答案

.emacs 下面的 lisp-snippet 让它在 Ubuntu Linux 上为我工作

(add-hook 'c-mode-common-hook 'flyspell-prog-mode)

存在替代设置。但我认为你可以通过谷歌搜索 flyspell-prog-mode 找到它们。

关于c++ - 使用 emacs 对 C++ 代码中的注释进行拼写检查,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10169907/

相关文章:

c++ - 我的字符串末尾有 4 个相同的垃圾字符

c++ - 比较一个长变量与INT_MAX + 1

c++ - 将 ruby​​ 哈希转换为 c++ 映射

c++ - 返回类型 Pthread 使用 C++ 创建

emacs - 自动加载未能定义函数 calc-dispatch

emacs - 我怎样才能让 emacs 的 cperl 模式将所有语句继续缩进一级?

emacs - 如何显示两个程序之间的差异?

ios - iOS 拼写检查器存储哪些信息?

html - 通过 HTML/css 关闭 Chrome/Safari 拼写检查

perl - 为什么 Test::Spelling 将函数/方法名称标记为有拼写错误?