Sanitize It! is a Visual Studio Code extension that allows developers to quickly transform selected text into a randomized string of the same length. Ideal for obfuscating sensitive information or adding a playful twist to your coding experience, this extension makes it easy to enhance your text editing workflow.
- Randomized Replacement: Highlight any text and replace it with a unique string composed of uppercase letters, lowercase letters, digits, and special characters.
- Simple Context Menu Integration: Easily access the sanitization feature via the right-click context menu.
- Customization: Modify the character set and length based on your preferences (if needed in future updates).
- Open the Extensions view in VS Code (
Ctrl+Shift+X
). - Search for Sanitize It! and click Install.
- Alternatively, download the latest
.vsix
package from the Releases section and install it manually.
- Highlight the text you want to sanitize.
- Right-click and select Sanitize Selected Text from the context menu.
- The highlighted text will be replaced with a randomized string of the same length.
Before sanitization:
SensitivePassword123!
After selecting and applying Sanitize It!:
@1bXy$!qzP9fW3&
- VS Code Version: 1.93.0 or higher
To contribute to Sanitize It!, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/sanitize-it.git cd sanitize-it
- Install dependencies:
npm install
- Open the project in VS Code and run the extension using
F5
.
This project is licensed under the MIT License.
- Inspired by the need for quick text sanitization in development environments.
- Thanks to the VS Code team for providing a robust extension API.