Skip to content

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

License

Notifications You must be signed in to change notification settings

mthiesen/Xcode_copy_line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •