Functionality
Small tools in Visual Studio Code. The following types of functions are supported:
Sort Asc - Sort selected lines asc
Sort Desc - Sort selected lines desc
Trim Lines - Trim each line
Trim And Remove Duplicate Lines - Trim And Remove Duplicate Lines
Compute - Compute each line of number, sum and average values will be shown.
Install
- Open VS Code
- Go to Extension tab
- Type "util"
- Select "vscode-util" to install.
Usage
- Open VS Code
- Select some line texts
- Press F1 or (cmd+shift+p)
- Input each command. Such as ("sort", "trim" .. you will see the command)
- If you use compute, don't need select firstly, but keep a number for each line. Note: non-number line will be ignored during computing.
Try trim and sort
Try compute
Market Place: https://marketplace.visualstudio.com/items?itemName=guosong.vscode-util
| |