Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 2.59 KB

File metadata and controls

60 lines (38 loc) · 2.59 KB

Stand With Ukraine

Fast, practical text transformations directly in the Visual Studio editor. This Visual Studio 2022+ extension is a .NET port of the IntelliJ String Manipulation plugin.

Select text and open the editor context menu, then choose String Manipulation. If nothing is selected, commands operate on the current line.

Features

Everyday editing

  • Switch Case — convert text to camelCase, PascalCase, snake_case, kebab-case, dot.case, sentence case, UPPER CASE, and more.
  • Encode/Decode — Base64, hexadecimal, URL, Unicode, hashes, and Unix timestamp conversion.
  • Multi Replace — run a saved collection of replacements.
  • Align Columns — align delimited values into readable columns.
  • Markdown Table — format delimited text as a Markdown table.
  • Hierarchical Sort — sort nested or hierarchical text.
  • Paste camelCase — paste clipboard text as camelCase.

More Manipulations

The More Manipulations... dialog includes:

  • Escape and unescape text for C#, JSON, JavaScript, HTML, XML, PHP, and SQL.
  • Sort, reverse, shuffle, or sort by length.
  • Trim, filter, grep, remove empty lines, and remove duplicates.
  • Increment numbers and adjust quotes or path separators.
  • Convert JSON and YAML, or pretty-print and minify either format.
  • Align values by a custom delimiter.

Recent Manipulations

The extension remembers recently run case, encode/decode, and advanced manipulations. Use Recent Manipulations to repeat one of the three newest items immediately, or choose Browse Recent Manipulations... to select an older item.

Your last valid dialog choices and recent manipulations are stored locally, so commonly used operations are ready when Visual Studio starts again.

Requirements

  • Visual Studio 2022 version 17.14 or later.

Installation

  1. In Visual Studio, open Extensions > Manage Extensions.
  2. Search for String Manipulation.
  3. Install the extension and restart Visual Studio when prompted.

Usage

  1. Select text in an editor, or place the caret on the line to manipulate.
  2. Right-click and choose String Manipulation.
  3. Choose a command, configure it if necessary, and select OK.

Feedback

Please open an issue to report a bug or suggest an improvement.

License

Apache License 2.0