osx - How do I create a Delete-Line Keyboard shortcut in Xcode 8? The Xcode 3 solutions do not work anymore -
in previous versions of xcode
possible create key binding delete current line. there different solutions , described example here:
http://bigdiver.wordpress.com/2009/09/11/configure-homeend-key-bidings-on-mac-os-x/
http://www.betadesigns.co.uk/blog/2010/02/03/custom-xcode-shortcuts/
all solutions include modifying 1 of these files:
~/library/application support/xcode/key bindings/*.pbxkeys
~/library/keybindings/defaultkeybinding.dict
~/library/keybindings/pbkeybinding.dict
a resource existing shortcuts in xcode 4
http://cocoasamurai.blogspot.com/2011/03/xcode-4-keyboard-shortcuts-now.html . there many listed regarding deletion, none "delete line".
but, these solutions not work since xcode 4
.
update: issue still same of xcode 5.1.1
update: issue still same of xcode 6.1 gm seed 2
update: still applies xcode version 7.3 (7d175) of 26th april 2016
update: 6 years later xcode 8.3 has built-in solution. see answer below.
looks xcode 8.3 added delete line command :)
by default, no keyboard shortcut assigned it, need add 1 in:
- open xcode > preferences > key bindings
- search
delete line
- add keyboard shortcut in key column
Comments
Post a Comment