- Perform map operations on a selection or multiple selections
- Perform sort operations on a multiple selection
- Save your expressions as presets for easy access
Select some text. Optionally, use
Cmd to select multiple regions.
P to open the command palette.
Type "super" to show a list of available commands;
Custom map function
Pick a preset to use as the map function.
Custom sort function
Pick a preset to use as the sort function.
This extension contributes the following settings:
superpowers.mapPresets: List of map presets as an array of objects.
"name": "replace with index",
"function": "(_, i) => i + 1"
superpowers.sortPresets: List of sort presets as an array of objects.
"name": "sort by codepoint",
"function": "(a, b) => a.charCodeAt(0) - b.charCodeAt(0)"
Please report issues via issue tracker.
Extension is still in early phases of development. Expect things to change or be broken.
Ensure all changes have been committed.
$ vsce package
$ vsce publish [patch/major/minor]