This extension allows you to remotely control Visual Studio Code. Run commands from anywhere you want on your device. The extension allows you to take VSCode automation to the next level.
In the background it uses
websockets
in order to listen to commands it should execute in your VSCode instance.Visual Studio Code 1.6.1 supports 'Format On Save' which will automatically pick up relevant installed formatter extensions and format the whole document on each save. Enable 'Format On Save' by setting 'editor.formatOnSave': true And there are available keyboard shortcuts (Visual Studio Code 1.7 and above): Format the whole document: Shift. Visual Studio Code VS Code is a lightweight source code editor and powerful development environment for building and debugging modern web, mobile and cloud applications. It is free and available on your favorite platform - Linux, macOS, and Windows.
Info: This is a sample of how I use the Remote Control extension in combination with the macOS Raycast app.
Extension Settings
Discord Playing Visual Studio Code
How to sync contacts from iphone to gmail account. The extension has the following settings which you can use to configure it:
remoteControl.enable
: enable/disable this extensionremoteControl.port
: set the port number for the websocket to start the server
Usage
When you install this extension, it will automatically open a
websocket
on port 3710
. This port can be changed on in the VSCode settings. When you are going to use multiple VSCode sessions at the same time, it is best to configure it on workspace level.Once installed, you can execute
commands
for VSCode remotely by calling the Remote Control its websocket. Here is an example how to open the terminal in VSCode:Vscode Visual Studio Solution
The text you need to pass to the
websocket
listener is as you can see a stringified JSON object. The object currently consists of:Command
:<command-id>
How do I get the command ID?
Visual Studio Code Vs Visual Studio Community
To get the command ID, open the
Command Palette
and type Show all commands
. This will give you a list with all the available commands.Hori switch controller review. Data scraping tools. Behind each command, there is a gear button. When you click on it, it brings you to the shortcut configuration. Where you can right-click on the command and copy its ID.
Vscode Visual Studio 10
Feedback / issues / ideas
Vscode Visual Studio Solution
Please submit your feedback/issues/ideas by creating an issue in the project repository: issue list.