Textmate check spelling everywhere

橙三吉。 提交于 2019-12-12 14:07:28

问题


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.

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

I am using Textmate for Rails if that matters.


回答1:


From the manual;

4.10 Spell Checking

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.

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.

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.



来源:https://stackoverflow.com/questions/6988777/textmate-check-spelling-everywhere

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!