Linex can be downloaded free on the Mac App Store.
- Download the latest Linex.app.
- Move the Linex.app to Applications folder.
- Open and Close it.
- Verify if the extensions are added in System Preferences -> Extensions -> Xcode Source Editor as seen below
Duplicates current line or selected line
Inserts new blank line below current line. This allows you to create a new indented line irrespective of your current caret postion.
Inserts new blank line above current line
Duplicate+Comment current line or selected lines. It can be used to check variations in code
Delete current line or selected lines
Joins the line below or all the selected lines
Toggles the caret between indented beginning and the real begninning
Selects the word around the caret
Selects line. After selecting current line starts selecting next lines
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
Replace consecutive spaces with one space. Press again to toggle between one space
and no space
Increment & Decrement using quick shortcuts.
These shortcuts also toggles true
, false
, YES
& NO
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+- |
Pull requests with bug fixes or with new failing Test cases are welcomed.
Linex
is released under MIT License