Textmate 到处检查拼写 [英] Textmate check spelling everywhere

查看:33
本文介绍了Textmate 到处检查拼写的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法检查我在 Textmate 中输入的所有单词的拼写?

Is there any way to check spelling for ALL the words that I type in Textmate?

很难相信,但实际上我的所有变量和类名都使用了合法的英文单词 - 因此未突出显示的拼写错误只会让我丧命.

It's hard to believe but I actually use legit English words for ALL my variables and class names - thus unhighlighted typos are just killing me.

如果有办法检查带有特殊字符(@uesr、crreunt_uesr)的单词的拼写就好了

It would be nice if there was a way to check spelling for words with special characters (@uesr, crreunt_uesr)

如果重要的话,我正在使用 Textmate for Rails.

I am using Textmate for Rails if that matters.

推荐答案

来自手册

4.10 拼写检查

TextMate 支持系统范围内的键入时检查拼写".这个可以在编辑 → 拼写子菜单中更改.

TextMate supports the system wide 'Check Spelling as You Type'. This can be changed in the Edit → Spelling submenu.

您可以为拼写错误的单词调出上下文相关菜单获取拼写建议.

You can bring up the context sensitive menu for a misspelled word to get spelling suggestions.

由于 TextMate 用于结构化文本,因此可以排除部分文档被检查.这是由在捆绑编辑器中创建首选项,设置拼写检查为 0 并用选择器填充范围选择器以不进行拼写检查为目标.

Since TextMate is intended for structured text it is possible to exclude parts of the document from being checked. This is done by creating a preferences item in the bundle editor, setting spellChecking to 0 and filling in the scope selector with the selector to target for no spell checking.

默认情况下,除了字符串之外,源代码的拼写检查是禁用的和评论以及关键字、标签和 HTML、LaTeX 中的类似内容,降价等

By default spell checking is disabled for source code except strings and comments and also for keywords, tags and similar in HTML, LaTeX, Markdown, etc.

这篇关于Textmate 到处检查拼写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆