崇高文本2 macOSX双引号问题 [英] sublime text 2 macOSX double quote issue

查看:100
本文介绍了崇高文本2 macOSX双引号问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用Sublime Text 2在Mac上使用shift键+单引号/双引号键时,我没有得到可解析的双引号.

When I do shift key + single/double quote key on my mac using Sublime Text 2 I don't get parseable double quotes.

这是一张图片,展示了某些HTML对id=""的影响:

Here's a picture demonstrating the effect on the id=""'s of some HTML:

有人知道如何纠正此问题吗?正确的双引号是由其他文本编辑器生成的.

Does anyone know how to correct this? The correct double-quotes were generated by a different text editor.

推荐答案

我回答了自己的问题.我已经安装了 Sublime的Zencoding插件当我删除它时,双引号再次恢复正常.

I answered my own question. I had installed Sublime's Zencoding plugin which when I removed it, the double-quotes were normal again.

更新:奇怪的是,这个双引号问题仍然存在于我的PHP文件中,但不存在于我的JS文件中.我不确定如何解决此问题,但是我会更新此答案.

Update: Oddly, this double-quote issue still exists in my PHP files, but not my JS files. I'm not sure how to solve this yet but will update this answer when I do.

更新#2 我终于解决了PHP文件双引号的问题.请参阅我对此的回答SO线程.

UPDATE #2 I finally solved the PHP file double-quote issue. Please see my answer on this SO thread.

我有一个键绑定集,可以在SublimeText2 preferences->key bindings->user

I had a a key binding set to use these "typographical" quotes in my SublimeText2 preferences->key bindings->user

这篇关于崇高文本2 macOSX双引号问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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