How do I create a Delete-Line Keyboard shortcut in Xcode 8? The Xcode 3 solutions do not work anymore

后端 未结 13 1431
故里飘歌
故里飘歌 2020-12-07 10:38

In previous versions of Xcode it was possible to create a key binding to delete the current line. There were different solutions and they are described for exam

13条回答
  •  自闭症患者
    2020-12-07 11:09

    Looks like Xcode 8.3 finally added the Delete Line command :)

    By default, no keyboard shortcut is assigned to it, so you will need to add one yourself in:

    1. Open Xcode > Preferences > Key Bindings
    2. Search for Delete Line
    3. Add a keyboard shortcut in the Key column

提交回复
热议问题