如何在 Xcode 9 中删除标记单词上的双引号插入 [英] How to remove insertion of double quotes on marked word in Xcode 9
问题描述
Xcode 9 中的这个新函数看起来不错,但我无法习惯它,而且在大多数情况下,结果证明比旧的原生函数需要我做更多的工作.
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.
如何防止 Xcode 引用标记的单词,而不是用单引号替换标记的单词?
How can I prevent Xcode from quoting a marked word, rather than replacing the marked word with a single quote?
在这种情况下,当标记单词 Text
并点击 " 时,我希望结果是 Some"
,而不是 Some"Text"
.当标记整个 SomeText
-word 并点击 " 时,我希望结果是单个 "
,而不是引用的 "SomeWord"
.
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"
.
作为一个在我的生活中不仅仅使用 Xcode 来编写文本的人,当每个文本编辑器都想要拥有自己的自定义功能时,我很恼火,最终我将这些功能与不同的编辑器混淆..
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..
推荐答案
我也遇到了这个问题,也觉得这个问题很烦人.
经过一些调查,我发现有一个键可以在没有额外操作的情况下插入报价:
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:
它是 Ctrl+Shift+"
这篇关于如何在 Xcode 9 中删除标记单词上的双引号插入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!