Skip to content

/ide fails in VS Code - No active IDE workspaces found. #1723

@Zizaco

Description

@Zizaco

Describe the bug

Running /ide fails to find an active IDE workspace and is unable to install / connect with VS Code.
Fresh installation on macOS 26.3 - Apple Silicon.

Error message:

No active IDE workspaces found
Make sure a compatible IDE is running and has workspace folders open.
Image

Affected version

GitHub Copilot CLI 0.0.419.

Steps to reproduce the behavior

  1. npm install -g @github/copilot (or brew install copilot)
  2. Open vscode in any project
  3. Open terminal
  4. Run copilot
  5. Select 2 "Yes, and remember this folder for future sessions"
  6. Run /ide

"No active IDE workspaces found."

Things I tried:

  • Uninstalling and reinstalling copilot with npm and brew
  • Different directories/projects (python project, typescript project, java project)
  • Running with --allow-all-tools

Expected behavior

/ide should detect the IDE Workspace and display the option to connect to it. For example:

  /ide

Copilot CLI automatically connects to VS Code when its workspace matches your current folder.                                                    
 • Folders trusted in VS Code are automatically trusted in the CLI        
 • CLI will have access to your editor selection and diagnostics          
 • File change approvals are shown in diff tabs you can approve or reject 
 Use "Copilot CLI" commands in the VS Code command palette to access more features.

 **Select an IDE workspace to connect to:**

 ❯ 1. Visual Studio Code: <project path> (current)
                                                                          
 Settings:                                                                
                                                                          
   [✓] Auto-connect to matching IDE workspace                             
   [✓] Open file edit diffs in IDE                                        
                                                                          
 ↑↓ to navigate · enter/space to toggle · Esc to cancel

Additional context

Hardware

OS: macOS 26.3 25D125 arm64
Kernel: 25.3.0
Terminal: vscode
CPU: Apple M4 Pro
Memory: 24576MiB

VS Code >Help: About

Version: 1.107.1 (Universal)
Commit: 994fd12f8d3a5aa16f17d42c041e5809167e845a
Date: 2025-12-17T14:15:14.850Z
Electron: 39.2.3
ElectronBuildId: 12895514
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 25.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions