Xcode plugin to duplicate selected line or lines.
Select line(s) you want to duplicate, then press ^⇧D
. Bum, line(s) duplicated!
You can do it only by overriding current shortcut in Keyboard settings. To do it, follow these steps:
- Go to System Preferences
- Keyboard
- Shortcuts
- App Shortcuts
-
- Application: Xcode
- Menu Title: Duplicate Line
- Keyboard Shortcut:
- Add
Thanks to @nicoschuele for that tip ;)
- Install using Alcatraz. Search for "Duplicate Line" plugin
- Restart Xcode
- Clone the repo.
- Build it. Plugin will automatically be installed in ``~/Library/Application Support/Developer/Shared/Xcode/Plug-ins`.
- Restart Xcode
Delete the following directory
$HOME/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/DuplicateLine.xcplugin
Available here https://github.com/castus/Xcode8Extensions
MIT License