emacs 有什么插件自动识别拼写错误?

Vim、Emacs配置和使用
回复
cuiaoxiang
帖子: 62
注册时间: 2010-02-01 19:08

emacs 有什么插件自动识别拼写错误?

#1

帖子 cuiaoxiang » 2010-07-19 13:45

类似 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
cuiaoxiang
帖子: 62
注册时间: 2010-02-01 19:08

Re: emacs 有什么插件自动识别拼写错误?

#2

帖子 cuiaoxiang » 2010-07-31 21:30

pocoyo 写了:ispell :?
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
cuiaoxiang
帖子: 62
注册时间: 2010-02-01 19:08

Re: emacs 有什么插件自动识别拼写错误?

#3

帖子 cuiaoxiang » 2010-08-01 8:03

pocoyo 写了:我不懂了。没见过
其实还是很常见的需求
下面是 ultraedit 编辑 css 文件时候的截图,可以看到它能很好的帮助我们找到拼写错误。
[img]捕获.PNG[/img]

第 17 行有个拼写错误,没有看到和下面第 24 行正确的拼写应该出来的高亮效果

现在我用的 emacs css-mode 就比较弱智,随便你怎么拼写错误,它照样高亮
附件
捕获.PNG
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
头像
lilydjwg
论坛版主
帖子: 4258
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: emacs 有什么插件自动识别拼写错误?

#4

帖子 lilydjwg » 2010-08-01 10:39

cuiaoxiang 写了:
pocoyo 写了:我不懂了。没见过
其实还是很常见的需求
下面是 ultraedit 编辑 css 文件时候的截图,可以看到它能很好的帮助我们找到拼写错误。
[img]捕获.PNG[/img]

第 17 行有个拼写错误,没有看到和下面第 24 行正确的拼写应该出来的高亮效果

现在我用的 emacs css-mode 就比较弱智,随便你怎么拼写错误,它照样高亮
哈,换Vim吧,Vim的CSS高亮和补全都很不错的哦。 :em02
风间星魂
帖子: 490
注册时间: 2009-06-20 23:53

Re: emacs 有什么插件自动识别拼写错误?

#5

帖子 风间星魂 » 2010-08-19 11:55

xhtml css xml sql php补全高亮vim是完美的。
唯一有点遗憾是vim-css的高亮纯关键词,冒号前和冒号后都高亮。。。
回复