The Anyscale VS Code extension lets you instantly open and connect to Anyscale Workspaces from the browser, giving you a fully-configured, remote development environment with zero manual setup.
How It Works
Start from the Anyscale Web UI
Click Open in VS Code desktop on any Anyscale Workspace page.
VS Code Opens and Installs the Extension (if not already installed)
You'll be prompted to install the Anyscale VS Code extension if it's not already present.
Automatic SSH Configuration
Once installed, the extension:
Generates or reuses SSH keys as needed.
Adds the remote cluster to your ~/.ssh/config file.
Ensures all required extensions (including itself) are available in the remote VS Code server.
Connected and Ready to Code
A new VS Code window launches, automatically connected to your Anyscale Workspace using the Remote - SSH extension.
Automatic Installation via remote.SSH.defaultExtensions
When you install this extension locally (by navigating from the Anyscale product page), it automatically adds itself to your VS Code remote.SSH.defaultExtensions setting. This ensures the extension will be automatically installed when connecting to any remote workspace.
You can view or change these settings in your user or workspace settings.json.
How to Uninstall the Extension Completely
To fully uninstall the Anyscale extension and prevent it from being automatically reinstalled in the future:
Open your VS Code settings (Cmd/Ctrl + ,) and search for remote.SSH.defaultExtensions.
Remove "anyscale.anyscale-workspace" (or similar ID) from that list.
Then uninstall the extension via the Extensions tab (Cmd/Ctrl + Shift + X).
This ensures the extension won't be reinstalled when connecting to remote machines.