/LineEscapeEx

Duplicate lines as comment. (Xcode Source Editor Extension, Xcode 8+)

Primary LanguageSwiftMIT LicenseMIT

LineEscapeEx

Xcode Source Editor Extentsion (Xcode 8+) duplicate lines as comment

Example

Sample

Install

  1. On OS X 10.11 El Capitan, run the following command and restart your Mac:
sudo /usr/libexec/xpccachectl

easy way

  1. Download LineEscape.dmg from https://github.com/sidepelican/LineEscapeEx/releases
  2. Open .dmg and drag LineEscape.app to your Applications folder
  3. Run LineEscape.app and exit again.
  4. Go to System Preferences (not Xcode) -> Extensions -> Xcode Source Editor and enable the extension
  5. The menu-item should now be available from Xcode's Editor menu.

build by yourself

  1. Open .xcodeproj
  2. Enable target signing for both the Application and the Source Code Extension using your own developer ID
  3. Product > Archive
  4. Right click archive > Show in Finder
  5. Right click archive > Show Package Contents
  6. Open Products, Applications
  7. Drag LineEscape.app to your Applications folder
  8. Run LineEscape.app and exit again.
  9. Go to System Preferences (not Xcode) -> Extensions -> Xcode Source Editor and enable the extension
  10. The menu-item should now be available from Xcode's Editor menu.

Licence

The MIT License. See the LICENSE file for more infomation.