Skip to content
Xcode's plugin to duplicate line(s)
Objective-C JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DuplicateLine.xcodeproj
DuplicateLine
screenshot
utils
LICENSE
README.md

README.md

Duplicate Line

Xcode plugin to duplicate selected line or lines.

How to use it

Select line(s) you want to duplicate, then press ^⇧D. Bum, line(s) duplicated!

Duplicate line plugin presentation

Change the shortcut

You can do it only by overriding current shortcut in Keyboard settings. To do it, follow these steps:

  1. Go to System Preferences
  2. Keyboard
  3. Shortcuts
  4. App Shortcuts
  5. Application: Xcode
  6. Menu Title: Duplicate Line
  7. Keyboard Shortcut:
  8. Add

Thanks to @nicoschuele for that tip ;)

Installation

Alcatraz

  1. Install using Alcatraz. Search for "Duplicate Line" plugin
  2. Restart Xcode

Manually

  1. Clone the repo.
  2. Build it. Plugin will automatically be installed in ``~/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/DuplicateLine.xcplugin

Xcode 8 version

Available here https://github.com/castus/Xcode8Extensions

License

MIT License

You can’t perform that action at this time.