How to remove insertion of double quotes on marked word in Xcode 9

给你一囗甜甜゛ 提交于 2019-12-06 07:38:35

问题


This new function in Xcode 9 seems to be alright, but I can't get used to it, and in most cases it turns out to require me to do more work than the old native function.

How can I prevent Xcode from quoting a marked word, rather than replacing the marked word with a single quote?

In this case, when marking the word Text and hitting ", I want the result to be Some", not Some"Text". When marking the entire SomeText-word and hitting ", I expect the result to be a single ", not a quoted "SomeWord".

As someone who uses more than just Xcode to write text in my life, I get annoyed when each of the text-editors wants to have their own custom features, and I end up confusing the features with different editors..


回答1:


I got in this issue too and also think that this is really annoying.
After some ivestigation, i've found out that there is a key to insert quote without Extra Action:

It's Ctrl+Shift+"



来源:https://stackoverflow.com/questions/46462872/how-to-remove-insertion-of-double-quotes-on-marked-word-in-xcode-9

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