VS Code with
The VS Code extension uses Remote - SSH to bring the best of CodeSandbox Projects to your local tool.
- If needed, install Visual Studio Code for Windows (7+), macOS (10.11 +), or Linux.
- Download and install the CodeSandbox extension for Visual Studio Code.
- Wait for the extension to finish downloading and then reload VS Code when prompted.
- Click on CodeSandbox icon in the side menu and login
- Connect to your project
When you connect to your CodeSandbox account and open a branch, a virtual container is spun up with Remote - SSH to allow you to access your code. At the same time, a connection is established with a CodeSandbox API called Pitcher. This is the service that powers all of the collaboration features across different editors including the web and mobile.
It is possible to work on the ssh connection while disconnected to Pitcher, but you should be mindful that other team members may be making changes to your branch while you are in an un-synced state, so be sure to commit often.
Only people on your team in CodeSandbox have access to these repositories.
So the VSCode Extension actually connects directly to the container with an SSH connection, completely bypassing Pitcher, where it operates directly with the FileSystem. On top of this we also connect to Pitcher, just like we do in the browser, where we "tie it together".