xcode

作者: sherlock221b | 来源:发表于2015-08-01 12:01 被阅读232次

1.高效使用xcode
http://www.cocoachina.com/ios/20140731/9284.html

2.为xcode添加删除当前行

  1. 在/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/IDETextKeyBindingSet.plist
    此路径中找到 IDETextKeyBindingSet.plist
    文件。

  2. 打开 IDETextKeyBindingSet.plist
    ,用 Sublime Text 或者 Vim 都可以。添加一个新的字典成员

<key>Custom</key>
<dict>
<key>Delete Current Line In One Hit</key>
<string>moveToEndOfLine:, deleteToBeginningOfLine:, deleteToEndOfParagraph:</string>
</dict>

保存并重启 Xcode

3.打开Xcode Preferences 点击 Key Bindings 找到 Delete Current Line in One Hit 设置为⌘+D
(你可以设置为你喜欢的快捷键)。

相关文章

网友评论

    本文标题:xcode

    本文链接:https://www.haomeiwen.com/subject/ywvmqttx.html