/LineX

Feature packed Xcode extension

Primary LanguageSwiftMIT LicenseMIT


Markdownify
Linex

Feature packed Xcode extension.

Language Swift 4 Language Swift 4 License MIT

Content

Installation

Mac App Store

Linex can be downloaded from the Mac App Store at a very modest price. Please consider purchasing it.

Mac App Store

Manual

  1. Download the latest Linex.app.
  2. Move the Linex.app to Applications folder.
  3. Open and Close it.
  4. Verify if the extensions are added in System Preferences -> Extensions -> Xcode Source Editor as seen below

Extension preferences

Features

Copy Line

Open new Line below

Inserts new blank line below current line. This allows you to create a new indented line irrespective of your current caret postion.

Open New Line Above

Inserts new blank line above current line

Commented Duplicate

Duplicate+Comment current line or selected lines. It can be used to check variations in code

Delete Line

Join Line

Joins the line below or all the selected lines

Line beginning

Toggles the caret between indented beginning and the real begninning Line Beginning

Select Word

Select Line

Selects line. After selecting current line starts selecting next lines Select line

Select Line up

Selects line above the caret one-by-one Combination of Select line and Select line up can be used to expand selection above and below as seen below Select line up

One Space

Replace consecutive spaces with one space. Press again to toggle between one space and no space One Space

Align

Smart align code. Align

Increment / Decrement

Increment & Decrement using quick shortcuts. Increment Decrement

These shortcuts also toggles true, false, YES & NO True false

Shortcuts

Setting Shortcuts

Setting shortcuts

Recommended Shortcuts

Action Shortcut
Line
Copy Lines OPTN+
Open New Line Below CTRL+return
Open New Line Above CTRL+SHIFT+return
Commented Duplicate CMD+CTRL+/
Delete Line CTRL+OPTN+L
Join Line CTRL+J
Line Beginning CTRL+A
Selection
Select Word CTRL+W
Select Line CTRL+L
Select Line up CTRL+SHIFT+L
One Space OPTN+Space
Align CMD+CTRL+X
Convert
Increment CTRL++
Decrement CTRL+-

Todo

  • Expand selection

Contributing

Pull requests with bug fixes or with new failing Test cases are welcomed.

License

Linex is released under MIT License