Bitfocus AS
logo
logo
Bitfocus AS
logo
logo
Sign upSign in

Loading...

Bitfocus

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

FacebookInstagramGitHubYouTubeLinkedIn

Products

  • Buttons
  • Companion

Integrations

  • Supported Devices
  • Developer Community
  • Connection Development

Support

  • Support Overview
  • Documentation
  • Video Tutorials
  • Community Forum

Sales

  • Resellers & Integrators
  • Buttons Pricing

Updates

  • Case Studies
  • Events & Trade Shows
  • Press Releases
  • Product Updates
  • Webinars

Legal

  • Legal Overview
  • Privacy Policy
  • Buttons EULA
  • Terms & Cookie Policy

Company

  • About us
  • Press kit
  • Careers

© 2026 Bitfocus AS. All rights reserved.

  1. Connections
  2. Microsoft - VSCode

Microsoft

VSCode

Communityv3.0.2Updated last year
DocumentationReport an issueView on GitHub

Documentation

VSCode

Setup

  1. Add an instance of the Microsoft: VSCode module to your Companion setup and configure it:
    1. Make sure the port doesn't conflict with any other services.
    2. Set a password. (optional, but highly recommended)
    3. Change the bind address if necessary, empty binds to all interfaces.
  2. Install the CommandSocket extension in VSCode and configure it:
    1. Make sure commandsocket.role is set to client.
    2. Change commandsocket.host to the address of your Companion instance (empty defaults to 127.0.0.1).
    3. Match the commandsocket.port and commandsocket.password to your Companion setup.

Configuration

SettingDescription
Bind addressThe address to bind the server to. Leave empty to bind to all interfaces.
PortThe port to bind the server to.
PasswordThe password to use for encryption.
StickyKeep connected to a VSCode instance until it quits.

Actions

  • Execute commands in VSCode
  • Display notifications and status bar messages in VSCode
  • Request input from the user
  • Start/stop a debugging session
  • Manually activate extensions

Variables

NameDescriptionType
clients_countThe number of connected VSCode instancesnumber
versionThe version of VSCodestring
commands_countThe number of commands availablenumber
debugWhether a debugging session is activeboolean
debug_nameThe name of the active debugging sessionstring
debug_breakpointsThe number of breakpointsnumber
environment_hostThe type of environment hosting the VSCode windowstring
environment_nameThe name of the VSCode windowstring
environment_languageThe language of the VSCode windowstring
environment_remoteThe name of the remote hoststring
environment_shellThe shell used by the VSCode windowstring
extensions_countThe number of installed extensionsnumber
extensions_active_countThe number of active extensionsnumber
workspace_trustedWhether the workspace is trustedboolean
workspace_nameThe name of the workspacestring
workspace_foldersThe list of workspace foldersstring[]
workspace_folders_countThe number of workspace foldersnumber
git_branchThe name of the active git branchstring
git_commitThe hash of the active git commitstring
git_aheadThe number of commits ahead of the remotenumber
git_behindThe number of commits behind the remotenumber
git_remoteThe name of the active git remotestring
git_urlThe URL of the active git remotestring
git_changesThe number of changes in the working directorynumber
editor_nameThe name of the active editorstring
editor_pathThe path of the active editorstring
editor_languageThe language of the active editorstring
editor_encodingThe encoding of the active editorstring
editor_eolThe end of line sequence of the active editorstring
editor_indentThe indentation width of the active editornumber
editor_tabWhether the active editor uses tabs for indentationboolean
editor_dirtyWhether the active editor contains unsaved changesboolean
editor_columnThe column of the cursor in the active editornumber
editor_lineThe line of the cursor in the active editornumber
editor_linesThe number of lines in the active editornumber
editor_warningsThe number of warnings in the active editornumber
editor_errorsThe number of errors in the active editornumber
result_alertThe selected option from the last alert dialogstring
result_inputThe input from the last input dialogstring
result_pickThe selected option from the last pick dialogstring[]
error_debug_startThe error message from the last debug start actionstring
error_activateThe error message from the last activate extension actionstring

Feedbacks

Most variable values can be checked using the internal: Variable: Check value, internal: Variable: Compare two variables and internal: Variable: Check boolean expression feedbacks. Additionally, this module provides the following feedbacks:

FeedbackDescriptionAvailable for type
Variable containsCheck if a variable contains a valuestring
Variable matchesCheck if a variable matches a regular expressionstring
Variable includesCheck if a list includes a valuestring[]
Command availableCheck if a command is available
Extension installedCheck if an extension is installed
Extension activeCheck if an extension is active

Details

Manufacturer
Microsoft
Product
VSCode
Latest Version
v3.0.2
Author
Pascal Diehm
Contributors
pdiehm(29)
dnmeid(2)
martinec(1)

Open Issues and Requests

To file a new issue, you need to sign up for a user on GitHub.

Go to GitHub issues →

In other news

Buttons v1.8 Main with text

Buttons v1.8

October 2, 2026

Buttons v1.8 IBC award win

Bitfocus wins IBC2026 Best of Show Award for latest Buttons enhancements

September 21, 2026

Buttons v1.8 grey background

Biggest functionality boost yet makes Buttons the perfect platform for broadcast and media management

September 10, 2026

Vivid Buttons on screen

Bitfocus Buttons makes complex OB production feel simple

August 10, 2026

View all news →

More from Microsoft

GroupMe

Microsoft

Community
View Connection

Teams

Microsoft

Community
Conferencing
View Connection