Stream Deck for Visual Studio Code
Features
- Execute any Visual Studio Code command or menu.
- Create and execute terminal commands.
- Insert snippets.
Getting Started
- Download Visual Studio Code plugin on Stream Deck Store or here.
- Download Stream Deck for Visual Studio Code on Visual Studio Code marketplace or here.
After installing the plugin and the extension you should see this in VSCode status bar:
If for some reason the focused instance, were not active click on the status bar or alternate between windows to force activation.
Only the active session will receive the commands.
Getting Commands ID
In Visual Studio Code open File->Preferences->Keyboard Shortcuts, find the command you want, right-click it and Copy Command Id.
Settings (Optional)
You can change the IP and port to the message server in the settings.ini file.
[general]
host=127.0.0.1
port=48969
Windows
%appdata%\Elgato\StreamDeck\Plugins\com.nicollasr.streamdeckvsc.sdPlugin\settings.ini
Mac
~/Library/Application Support/com.elgato.StreamDeck/Plugins/com.nicollasr.streamdeckvsc.mac.sdPlugin/settings.ini
Don't forget to change it in Visual Studio Code settings or you won't be able to connect and use the available features.
I recommend using 127.0.0.1 as your IP address instead of localhost.