sublime text 2 macOSX double quote issue

被刻印的时光 ゝ 提交于 2019-12-13 17:31:14

问题


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

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.


回答1:


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

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.

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

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



来源:https://stackoverflow.com/questions/12521058/sublime-text-2-macosx-double-quote-issue

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