Xcode相关

xcode

2015-08-01  本文已影响232人  sherlock221b

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
(你可以设置为你喜欢的快捷键)。

上一篇下一篇

猜你喜欢

热点阅读