Xcode 9.x Line Duplication and Deletion

前端 未结 3 1532
北荒
北荒 2021-01-31 00:23

Up until Xcode 8.0, it was possible to customize IDETextKeyBindingSet.plist file. However, now it seems like modifying this file causes Xcode to stop behaving normally (e.g. arr

3条回答
  •  别那么骄傲
    2021-01-31 01:16

    The above answer seems to be broken in Xcode 9.

    Here is another solution that I have verified does work in Xcode 9 GM:

    Custom Commands
    
        Duplicate Current Line
        moveToBeginningOfLine:, deleteToEndOfLine:, yank:, insertNewline:, moveToBeginningOfLine:, yank:
    
    

提交回复
热议问题