XcodePlus Delete Line

Xcode plugin to plus extra feature - delete line, even mulit-lines


License
MIT

Documentation

XcodePlus

Xcode plugin to add extra feature.

  • delete line, even multi-lines

Usage

Delete Line

The default shortcut is ⌘D, like in Eclipse.

This shortcut should conflict to Duplicate, just remove it from Key Bindings. Or you would like to set different shortcut, please refer to Custom Shortcut.

  • Xcode > menu > Edit > Delete Line

deleteline-git

Installation

  1. Install via Alcatraz.
  2. Restart Xcode

or

  1. Clone it or Download ZIP and then build it.
  2. You can find the .xcplugin' from'~/Library/Application Support/Developer/Shared/Xcode/Plug-ins`
  3. Restart Xcode

Uninstall

Delete the following directory

$HOME/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/XcodePlus\ Delete\ Line.xcplugin

Custom Shortcut

Resolve conflict of Key Bindings

  • If conflict, check your shortcut and remove from Key Bindings in Xcode.
    • conflict Duplicate, ⌘D xcode-key-bindings
    • conflict Delete Forward, ^D xcode-key-bindings-2

Use my shortcut

If you want to change the shortcut of delete-line you like.

  • open System Preferences > Keyboard > Keyboard Shortcuts
    • At Step#5, press the shoutcut you want. shortcut

License

MIT License