Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ExpungerNew to Visual Studio Code? Get it now.
Expunger

Expunger

Olek on 3

|
1 install
| (0) | Free
Replace text with placeholders and restore back securely.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Expunger

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.

Configuration

  • expunger.masterKey: Master encryption key. Default: nopass.
    • Set expunger.masterKey to none to choose encryption/decryption key yourself. This way, key is not stored in plain text.
  • expunger.storageSubfolder: Subfolder under extension global storage. Default: storage.
  • expunger.placeholderText: Placeholder text token used by generated placeholders. Default: PLACEHOLDER.
  • expunger.indexSeparator: Separator between text token and index. Default: :.
  • expunger.placeholderTemplate: Optional full placeholder format template. Must contain {index}.

MIT licensed. AI was used in development.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft