A Visual Studio Code extension to switch OBS scenes automatically when opening files previously marked to contain sensitive / secret data (e.g. .env files).
Features
Auto connect to OBS on launch
Set an OBS websocket password in your keychain / Secret Service API (libsecret) / Credential Vault.
Add & remove selected files to the list of secret files straight from the file explorer.
Switch scenes if the opened filename matches to a regexp in the workspace settings
Automatically switch back when file containing secrets is closed again
obsSwitcher.autoConnect: If active, this extension will try to automatically connect to the OBS Websocket endpoint (default: false)
Known Issues
None at the time of writing
Release Notes
0.1.4
Works with OBS v28 and newer
Defaults to autostart with VS Code, with improved timings
Defaults port to default obs-websocket port 4455
Reduced size considerably
New indicator icon (bottom right) showing whether the active file is being hidden or not
Removed connected/disconnected messages in order to avoid clutter when connecting and disconnecting
"Cut" transition fallback to a "Cut"-alike transition whenever Cut is not found. Will usually default to the equivalent of "Cut" on OBS setups where the locale isn't English
0.1.1
Added option to set transition name. (defaults to "Cut")