Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Streamer ModeNew to Visual Studio Code? Get it now.
Streamer Mode

Streamer Mode

crunchi

|
11 installs
| (0) | Free
No snooping on `.env` files!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Say cheese, cheese, cheese!

Streamer Mode

Disable opening files to not let viewers see your .envs!

How do I use this?

Right click and you'll see the Streamer Mode: Toggle Visibility option.

Hide

After clicking, all tabs opening the file will close- the active tab will change into the No Peeking! panel.

This is indicated by the X mark next to the file. No Peeking

It will automatically hide .gitignored files! Here's are the additional marks next to the file/folder.

Decorations

Don't want the files to be .gitignored but still want to save the sensitive file locations in a file? We also have a .streamerignore for ..well, that! (I recommend maybe .gitignoreing your .streamerignore.)

Settings

Enable Streamer Mode: streamerMode.enableStreamerMode

Self explanatory, I hope.

Show Blocking Panel: streamerMode.showBlockingPanel

Show the No Peeking! panel.

WARNING: The panel only shows up for tabs opened after it is hidden, if the tab is active (It's just a tab.isActive check in the code). Super hacky, Beware!

Blocking Panel: streamerMode.blockingPanel

The settings of the No Peeking! panel.

Blocking Panel

There's also optionally a Show Anyway option!

Blocking Panel Buttons

Commands

Enable Streamer Mode: streamerMode.enable

Changing the streamerMode.enableStreamerMode setting will also call this command.

Disable Streamer Mode: streamerMode.disable

Changing the streamerMode.enableStreamerMode setting will also call this command.

Clear Streamer Mode Data: streamerMode.clearData

The files/folders hidden in persist in each workspace (it stores an array of paths in workspaceState). This will clear all the data (basically just state.hiddenFiles = []).

That's it! Thanks! ~ crunchi

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