Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,33 @@
from published versions since it shows up in the VS Code extension changelog
tab and is confusing to users. Add it back between releases if needed. -->

## Unreleased

### Added

- A Workspaces panel is now the Coder Remote sidebar, replacing the legacy My
Workspaces, Shared Workspaces, and All Workspaces tree views. From one place
you can:
- Switch between your workspaces, workspaces shared with you, and, for
owners, all workspaces.
- Search the listed workspaces by name, owner, or template with `Ctrl+F`
(`Cmd+F` on macOS).
- See at a glance whether each workspace and agent is healthy, and which
workspaces have a Coder Agents chat.
- Expand a workspace to see its agents, dev containers, app statuses, and
agent metadata.
- Start, stop, restart, update, and delete workspaces without leaving the
editor. You're asked to confirm before deleting a workspace or
interrupting the one you're connected to.
- Open a workspace or a specific agent, or go to its dashboard, sharing, or
settings page.
- Ping, run a speed test, or collect a support bundle for a specific agent.
- Keep working from the last results if your deployment can't be reached.
- To switch back to the legacy tree views, choose **Switch to Legacy Tree
Views** from the panel's **...** menu, or set `coder.workspacesPanel.enabled`
to `false`. No reload is needed, and **Switch to Workspaces Panel** switches
back.

## [v1.18.1](https://github.com/coder/vscode-coder/releases/tag/v1.18.1) 2026-11-18

### Security
Expand Down
88 changes: 48 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@
"default": false,
"scope": "application"
},
"coder.workspacesPanel.enabled": {
"markdownDescription": "Show workspaces in the Coder sidebar as a single panel where you can filter, check status, and start, stop, or update them. Disable to use the legacy My Workspaces, Shared Workspaces, and All Workspaces tree views instead.",
"type": "boolean",
"default": true,
"scope": "application"
},
"coder.sshFlags": {
"markdownDescription": "Additional flags to pass to the `coder ssh` command when establishing SSH connections. Enter each flag as a separate array item; values are passed verbatim and in order. See the [CLI ssh reference](https://coder.com/docs/reference/cli/ssh) for available flags.\n\nNote: `--network-info-dir` and `--ssh-host-prefix` are ignored (managed internally). Prefer `#coder.proxyLogDirectory#` over `--log-dir`/`-l` for full functionality.",
"type": "array",
Expand Down Expand Up @@ -334,38 +340,41 @@
"id": "coderTasks",
"title": "Coder Tasks (Deprecated)",
"icon": "media/tasks-logo.svg"
},
{
"id": "coderExperimentalWorkspaces",
"title": "Coder Workspaces",
"icon": "media/shorthand-logo.svg"
}
]
},
"views": {
"coder": [
{
"type": "webview",
"id": "coder.workspacesPanel",
"name": "Workspaces",
"icon": "media/logo-white.svg",
"when": "config.coder.workspacesPanel.enabled"
},
{
"id": "myWorkspaces",
"name": "My Workspaces",
"visibility": "visible",
"icon": "media/logo-white.svg",
"initialSize": 2
"initialSize": 2,
"when": "!config.coder.workspacesPanel.enabled"
},
{
"id": "sharedWorkspaces",
"name": "Shared Workspaces",
"visibility": "visible",
"icon": "media/logo-white.svg",
"initialSize": 1,
"when": "coder.authenticated"
"when": "!config.coder.workspacesPanel.enabled && coder.authenticated"
},
{
"id": "allWorkspaces",
"name": "All Workspaces",
"visibility": "visible",
"icon": "media/logo-white.svg",
"initialSize": 1,
"when": "coder.authenticated && coder.isOwner"
"when": "!config.coder.workspacesPanel.enabled && coder.authenticated && coder.isOwner"
}
],
"coderTasks": [
Expand All @@ -382,15 +391,6 @@
"icon": "media/tasks-logo.svg",
"when": "coder.authenticated && coder.tasksSupported"
}
],
"coderExperimentalWorkspaces": [
{
"type": "webview",
"id": "coder.workspacesPanel",
"name": "Coder Workspaces",
"icon": "media/shorthand-logo.svg",
"when": "coder.workspacesPanelEnabled"
}
]
},
"viewsWelcome": [
Expand Down Expand Up @@ -469,12 +469,6 @@
"title": "Update Workspace",
"category": "Coder"
},
{
"command": "coder.refreshWorkspaces",
"title": "Refresh Workspace",
"category": "Coder",
"icon": "$(refresh)"
},
{
"command": "coder.speedTest",
"title": "Speed Test Workspace",
Expand Down Expand Up @@ -561,6 +555,16 @@
"category": "Coder",
"icon": "$(search)"
},
{
"command": "coder.workspaces.showPanel",
"title": "Switch to Workspaces Panel",
"category": "Coder"
},
{
"command": "coder.workspaces.showTreeViews",
"title": "Switch to Legacy Tree Views",
"category": "Coder"
},
{
"command": "coder.applyRecommendedSettings",
"title": "Apply Recommended SSH Settings",
Expand Down Expand Up @@ -642,10 +646,6 @@
"command": "coder.workspace.update",
"when": "coder.workspace.updatable"
},
{
"command": "coder.refreshWorkspaces",
"when": "coder.authenticated"
},
{
"command": "coder.viewLogs",
"when": "true"
Expand Down Expand Up @@ -699,12 +699,20 @@
},
{
"command": "coder.workspaces.refresh",
"when": "false"
"when": "coder.authenticated"
},
{
"command": "coder.workspaces.search",
"when": "false"
},
{
"command": "coder.workspaces.showPanel",
"when": "!config.coder.workspacesPanel.enabled"
},
{
"command": "coder.workspaces.showTreeViews",
"when": "config.coder.workspacesPanel.enabled"
},
{
"command": "coder.applyRecommendedSettings"
}
Expand All @@ -725,6 +733,16 @@
"group": "deployment@1",
"when": "coder.authenticated && (view == myWorkspaces || view == coder.workspacesPanel)"
},
{
"command": "coder.workspaces.showPanel",
"group": "view@1",
"when": "view == myWorkspaces"
},
{
"command": "coder.workspaces.showTreeViews",
"group": "view@1",
"when": "view == coder.workspacesPanel"
},
{
"command": "coder.login",
"when": "!coder.authenticated && (view == myWorkspaces || view == coder.workspacesPanel)"
Expand All @@ -734,21 +752,11 @@
"when": "coder.authenticated && (view == myWorkspaces || view == coder.workspacesPanel)",
"group": "navigation@1"
},
{
"command": "coder.refreshWorkspaces",
"when": "coder.authenticated && view == myWorkspaces",
"group": "navigation@2"
},
{
"command": "coder.searchMyWorkspaces",
"when": "coder.authenticated && view == myWorkspaces",
"group": "navigation@3"
},
{
"command": "coder.refreshWorkspaces",
"when": "coder.authenticated && view == sharedWorkspaces",
"group": "navigation@2"
},
{
"command": "coder.searchSharedWorkspaces",
"when": "coder.authenticated && view == sharedWorkspaces",
Expand All @@ -766,8 +774,8 @@
},
{
"command": "coder.workspaces.refresh",
"when": "coder.authenticated && view == coder.workspacesPanel",
"group": "navigation@1"
"when": "coder.authenticated && (view == myWorkspaces || view == sharedWorkspaces || view == allWorkspaces || view == coder.workspacesPanel)",
"group": "navigation@2"
},
{
"command": "coder.workspaces.search",
Expand Down
23 changes: 5 additions & 18 deletions packages/workspaces/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,8 @@

This package contains the Workspaces webview panel for the Coder VS Code extension.

## Enabling the Feature

The workspaces panel is controlled by the `coder.experimental.workspacesPanel` configuration setting.

To enable via settings.json:

1. Open your VS Code settings.json (Cmd/Ctrl + Shift + P → "Preferences: Open User Settings (JSON)")
2. Add the following:

```json
{
"coder.experimental.workspacesPanel": true
}
```

3. Reload VS Code

The **Coder Workspaces** activity bar icon opens the **Coder Workspaces** view when the setting is enabled.
The panel is the default view in the **Coder Remote** sidebar. Setting
`coder.workspacesPanel.enabled` to `false` shows the My Workspaces, Shared
Workspaces, and All Workspaces tree views instead. The sidebar shows either the
panel or the tree views, never both, and switches as soon as the setting
changes.
Loading
Loading