## Anyscale Workspaces VS Code Extension

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

1. **Start from the Anyscale Web UI**  
   Click **Open in VS Code desktop** on any Anyscale Workspace page.

2. **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.

3. **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.

4. **Connected and Ready to Code**  
   A new VS Code window launches, automatically connected to your Anyscale Workspace using the **Remote - SSH** extension.

---

### Installation Behavior (Changed in v0.2.35)

**Prior to v0.2.35:** When you installed this extension locally, it automatically added itself to your VS Code `remote.SSH.defaultExtensions` setting to ensure automatic installation on remote workspaces.

**Starting from v0.2.35:** The extension no longer modifies `remote.SSH.defaultExtensions`. The extension is now installed directly on remote workspaces as needed through other mechanisms. 

---

### How to Uninstall the Extension Completely

To fully uninstall the Anyscale extension:

1. **For installations prior to v0.2.35:** Open your **VS Code settings** (`Cmd/Ctrl + ,`) and search for `remote.SSH.defaultExtensions`. Remove `"anyscale.anyscale-workspace"` from that list if present.
2. Uninstall the extension via the Extensions tab (`Cmd/Ctrl + Shift + X`).

**Note:** Starting from v0.2.35, the extension no longer modifies `remote.SSH.defaultExtensions`, so step 1 is only needed for older installations.
