/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 free on the Mac App Store.

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

Key Features

Line

Duplicate

Duplicates current line or selected 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

Delete current line or selected lines

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

Selection

Select Word

Selects the word around the caret

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

Convert

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
Duplicate
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+-

Contributing

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

License

Linex is released under MIT License