qcz / vscode-text-power-tools

Text Power Tools extension for VS Code
https://marketplace.visualstudio.com/items?itemName=qcz.text-power-tools
MIT License
90 stars 14 forks source link
text-utility typescript vscode vscode-extension

Text Power Tools

Text Power Tools is an all-in-one text manipulation extension for VS Code inspired by TextFX for Notepad++ and Filter Lines and Text Pastry for Sublime Text. All commands supports multiple selections where it is applicable, and many of them can target new documents, so the original source remains unchanged.

All features are available from either the Command Palette or the editor context menu. To access the commands from the Command Palette use Ctrl+Shift+P, and enter tpt or part of your favourite Text Power Tool command name (e.g. filter, guid etc.) to quickly access the list of available commands. Almost all commands are available from the editor context menu, which is accessible from the Text Power Tools submenu after right clicking in the editor area.

Availability:

Text Power Tools is also available as a Web Extension so it can be used on sites like vscode.dev.

Note: Due to current architectural limitations of VSCode, no extension can access files larger than 50 Megabytes. Vote for VSCode issue 31078, which once implemented, will allows this extension to work with these large files. In the meantime you can trick VSCode by opening a new file and copying the content of the large file there (without saving).

Features

Filtering in action

sample filtering

Description:

Extracting information in action

sample extracting

Counting the number of occurrences

sample formatting as table

Formatting text as table

sample formatting as table

Localization

Text Power Tools is fullly localizable. You have to translate the following two files:

Translations provided by the community:

Requirements

The extension requires at least version 1.75 of Visual Studio Code or other open source derivatives of it.

License

MIT

Sample images use text files from the Elasticsearch Examples and TensorFlow Models projects. Both are under the Apache 2.0 License.

My other extensions