Follow this tutorial http://stackoverflow.com/questions/551383/xcode-duplicate-delete-line
Open
Restart Xcode and open Xcode > Preferences > KeyBindings. Find your macro and define a shortkey :
sudo chmod 666 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/IDETextKeyBindingSet.plist
sudo chmod 777 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/
Open
/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/IDETextKeyBindingSet.plist
with Xcode himself and add this new entry :
deleteToBeginningOfLine:, moveToEndOfLine:, deleteToBeginningOfLine:, deleteBackward:, moveDown:, moveToBeginningOfLine:
Restart Xcode and open Xcode > Preferences > KeyBindings. Find your macro and define a shortkey :
Nhận xét
Đăng nhận xét