mthiesen / Xcode_copy_line

Xcode plug-in to copy/cut the current line when there is no selected text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xcode_copy_line

Description

Many source editors allow users to copy/cut the current line by using the shortcuts ⌘C and ⌘X while there is no selected text. If a line that was copied in such a way is pasted, it is inserted directly above the current line without moving the cursor. This is very useful while restructuring code and all but eliminates the need to memorize additional shortcuts for transposing lines.

Sublime Text and Visual Studio offer such a behaviour. This plug-in implements this behaviour in Xcode.

Installation

Download and compile the project (the plugin will be installed during the build process) or download the binary and unzip it to ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/

Compatibility

The plug-in is compatible with Xcode 5, Xcode 6, Xcode 7, Xcode 7.1, Xcode 7.2 and Xcode 7.3.

Thanks

About

Xcode plug-in to copy/cut the current line when there is no selected text

License:MIT License


Languages

Language:Objective-C 100.0%