vscode-text-utils
A collection of text utilities for Visual Studio Code.
Features
- Sort lines in ascending order: Sorts the selected lines in ascending order.
- Dedup lines in selection: Removes duplicate lines from the selection.
- Sort lines in descending order: Sorts the selected lines in descending order.
- Remove empty lines in selection: Removes empty lines from the selection.
- Convert to uppercase: Converts the selected text to uppercase.
- Convert to lowercase: Converts the selected text to lowercase.
- Base64 encode: Encodes the selected text to Base64.
- Base64 decode: Decodes the selected Base64 text.
- HTML Entity Encode: Encodes the selected text to HTML entities.
- HTML Entity Decode: Decodes the selected HTML entities to text.
- YAML to JSON: Converts the selected YAML text to JSON.
- JSON to YAML: Converts the selected JSON text to YAML.
Usage
- Select the text you want to manipulate.
- Open the command palette (
Ctrl+Shift+P or Cmd+Shift+P on macOS).
- Type the command you want to execute (e.g.,
text-utils.sort-lines-asc ).
- Press
Enter .
Installation
- Open the Extensions view (
Ctrl+Shift+X or Cmd+Shift+X on macOS).
- Search for
vscode-text-utils .
- Click
Install .
Release Notes
See CHANGELOG.md for details.
| |