Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Q# extension for VS Code fails in virtual workspaces #1075

Open
@cgranade

Description

@cgranade

Describe the bug

When using a virtual workspace in VS Code (e.g.: via the remote repository link at https://open.vscode.dev/Microsoft/quantum), the Quantum Development Kit extension attempts to start the language server, but fails with ENOENT.

To solve this, the QDK extension should either support full functionality in virtual workspaces (likely infeasible), reduced functionality, or disable itself entirely as per the advice at https://github.com/microsoft/vscode/wiki/Virtual-Workspaces.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://open.vscode.dev/Microsoft/quantum and select "Open with Remote Repositories"
  2. Hover over any symbol in a Q# file.
  3. From Help → Toggle Developer Tools, observe the error in the console log.

Expected behavior

The extension either works correctly, or advertises that it has limited functionality in virtual workspaces.

Screenshots

image

System information

VS Code: v1.57.1
QDK Extension: v0.18.2106148911
Remote Repositories extension: v0.10.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: editorExtensions for Visual Studio and Visual Studio CodebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions