Have you ever wanted to temporarily hide some sensitive data? Or maybe you want to collapse text into single symbol, or modify source file before the AI assistant reads it?
Well, now you can. This extension does just that. You can choose a secure master password for encryption of replaced data, or leave as is if you trust the users.
Features
Replaces selected text with ordered placeholders such as [PLACEHOLDER:1], <EXPUNGED-2>, etc.
Stores replaced text in a per-file storage record in extension folder.
Encrypts stored text with AES-256-GCM using the master key.
Allows text restoration of whole files or single placeholder.
Synchronizes changes to file name with storage if interacting through VS Code.
Commands
Expunger: Replace Selection With Placeholder
Expunger: Restore Placeholders In File
Expunger: Set Secure Session Key
Expunger: Clear Secure Session Key
Expunger: Show Security Status
Expunger: Replace/Restore At Cursor
Expunger: Reindex Placeholders In File
Shortcut:
Ctrl+Alt+R (Cmd+Alt+R on macOS): replace selected text, or replace back when the cursor is on a placeholder.