Skip to content

castus/xcode-duplicate-line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Xcode's plugin to duplicate line(s)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published