Use multi-cursor selections to do more!
Formally named "nick_says" then "Multi-Cursor-Align", now "Multi-Cursor Tools".
Please see the Change Log for recent changes.
- Open a vscode text editor or jupyter notebook text cell
- Place multiple selections or multiple cursors (eg by using by using
Alt+Left Click
orCtrl+Alt+Up/Down Arrow
or other methods) - Press
Ctrl+Shift+P
to open the command search - Search for:
Align Left Selections by Adding Spaces
ORAlign Right Selections by Adding Spaces
- Spaces will be added before each cursor such that all cursors are now
vertically aligned
- Note: Weird stuff happens if there are two cursors on the same line, but it doesn't break anything; You can use Ctrl+Z to undo.
- Open a vscode text editor or jupyter notebook text cell
- place multiple selections or multiple cursors (eg by using by using
Alt+Left Click
orCtrl+Alt+Up/Down Arrow
or other methods) - Press
Ctrl+Shift+P
to open the command search - Search for
Number Cursors from Zero
ORNumber Cursors from One
ORNumber Cursors from ...
ORNumber Cursors from ... choosing steps
- Numbers will be inserted at each cursor
- starting at
0
or1
respectively or prompting for the starting number and step (increment number) respectively - ordered in the same way that cursors were created
- starting at
Prompts for a search string, then moves current selection(s) forwards to the next occurrence, staying on the same line as the current selection(s) end.
Does NOT use regex patterns
Prompts for a search string, then expands current selection(s) forwards to before the next occurrence of the search string, staying on the same line as the current selection(s) end.
Does NOT use regex patterns
Similar to the built-in Line Above
command, but it brings the text after the
cursor along.
Reverse selected lines, then remove newline characters.