qsharp-compiler icon indicating copy to clipboard operation
qsharp-compiler copied to clipboard

Q# extension for VS Code fails in virtual workspaces

Open cgranade opened this issue 4 years ago • 0 comments

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

cgranade avatar Jul 08 '21 22:07 cgranade