TextMate切换注释宏已损坏 [英] TextMate toggle comment macro is broken

查看:87
本文介绍了TextMate切换注释宏已损坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的笔记本电脑崩溃了,重新启动后,"cmd/"(切换注释)损坏了.当我尝试在仅包含"foo"的行上切换注释时,我会在代码中获得此输出,而不是#foo":

My laptop crashed and when it rebooted, "cmd /" (toggle comment) was broken. When I try to toggle comments on a line that only contains "foo", I get this output in my code instead of "# foo":

/tmp/temp_textmate.2erfLj:68:in /bin/bash:-c:第0行:意外的EOF 在寻找匹配的'' /bin/bash: -c: line 1: syntax error: unexpected end of filemap' for " foo":String (NoMethodError) from /tmp/temp_textmate.2erfLj:48:in /bin/bash: -c: line 0: unexpected EOF while looking for matching时'' /bin/bash:-c:第2行:语法错误: 文件意外结束'

/tmp/temp_textmate.2erfLj:68:in /bin/bash: -c: line 0: unexpected EOF while looking for matching '' /bin/bash: -c: line 1: syntax error: unexpected end of filemap' for " foo":String (NoMethodError) from /tmp/temp_textmate.2erfLj:48:in /bin/bash: -c: line 0: unexpected EOF while looking for matching'' /bin/bash: -c: line 2: syntax error: unexpected end of file'

这让我发疯了

推荐答案

我遇到了同样的问题.重新安装TextMate似乎已经解决了问题.

I had this same problem. Reinstalling TextMate seems to have solved the problem.

从一台Mac迁移到另一台Mac后出现此问题.我不确定这是否是原因.它们都是MacBook Pro都在运行的雪豹.

This problem appeared after migrating from one Mac to another. I'm not sure if thats the cause though. They where both MacBook Pro's running snow leopard.

这篇关于TextMate切换注释宏已损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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