Sanitize It! Transform your text with a twist! With Sanitize It!, simply highlight any text and replace it with a completely randomized string of the same length—featuring a delightful mix of uppercase letters, lowercase letters, digits, and special characters. Perfect for obfuscating sensitive data
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
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.
Features
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).
Installation
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.
Usage
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.
Example
Before sanitization:
SensitivePassword123!
After selecting and applying Sanitize It!:
@1bXy$!qzP9fW3&
Compatibility
VS Code Version: 1.93.0 or higher
Development
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.