emacs 有什么插件自动识别拼写错误?
-
- 帖子: 62
- 注册时间: 2010-02-01 19:08
emacs 有什么插件自动识别拼写错误?
类似 eclipse 拼写错误就红色下划线标记的功能
God grant me the serenity to accept the things I cannot change
the courage to change the things I can
the wisdom know the difference
the courage to change the things I can
the wisdom know the difference
-
- 帖子: 62
- 注册时间: 2010-02-01 19:08
Re: emacs 有什么插件自动识别拼写错误?
ispell 可以识别程序中变量名拼写错误吗?pocoyo 写了:ispell
据我知道 ispell 只能是单词拼写检查吧
我其实是这个意思。
比如
int abc, def;
//...
abe = def * 2;
最好能把 "abe" 标记出来,表示不能识别的变量名,说明可能是拼写错误了,应该是 "abc"。
God grant me the serenity to accept the things I cannot change
the courage to change the things I can
the wisdom know the difference
the courage to change the things I can
the wisdom know the difference
-
- 帖子: 62
- 注册时间: 2010-02-01 19:08
Re: emacs 有什么插件自动识别拼写错误?
其实还是很常见的需求pocoyo 写了:我不懂了。没见过
下面是 ultraedit 编辑 css 文件时候的截图,可以看到它能很好的帮助我们找到拼写错误。
[img]捕获.PNG[/img]
第 17 行有个拼写错误,没有看到和下面第 24 行正确的拼写应该出来的高亮效果
现在我用的 emacs css-mode 就比较弱智,随便你怎么拼写错误,它照样高亮
God grant me the serenity to accept the things I cannot change
the courage to change the things I can
the wisdom know the difference
the courage to change the things I can
the wisdom know the difference
- lilydjwg
- 论坛版主
- 帖子: 4258
- 注册时间: 2009-04-11 23:46
- 系统: Arch Linux
- 联系:
Re: emacs 有什么插件自动识别拼写错误?
哈,换Vim吧,Vim的CSS高亮和补全都很不错的哦。cuiaoxiang 写了:其实还是很常见的需求pocoyo 写了:我不懂了。没见过
下面是 ultraedit 编辑 css 文件时候的截图,可以看到它能很好的帮助我们找到拼写错误。
[img]捕获.PNG[/img]
第 17 行有个拼写错误,没有看到和下面第 24 行正确的拼写应该出来的高亮效果
现在我用的 emacs css-mode 就比较弱智,随便你怎么拼写错误,它照样高亮

-
- 帖子: 490
- 注册时间: 2009-06-20 23:53
Re: emacs 有什么插件自动识别拼写错误?
xhtml css xml sql php补全高亮vim是完美的。
唯一有点遗憾是vim-css的高亮纯关键词,冒号前和冒号后都高亮。。。
唯一有点遗憾是vim-css的高亮纯关键词,冒号前和冒号后都高亮。。。