Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting then clearing "deno.path" config causes lsp to not start #451

Closed
dsherret opened this issue Jun 18, 2021 · 0 comments · Fixed by #452
Closed

Setting then clearing "deno.path" config causes lsp to not start #451

dsherret opened this issue Jun 18, 2021 · 0 comments · Fixed by #452
Assignees
Labels
bug Something isn't working

Comments

@dsherret
Copy link
Member

Describe the bug

Setting then clearing the "deno.path" config setting via the GUI causes the deno extension to fail to start.

To Reproduce

  1. Open up the GUI settings editor and add a user setting for "Deno: Path"
  2. Save. Then clear that value.

Expected behavior

A clear and concise description of what you expected to happen.

Output

Activating extension 'denoland.vscode-deno' failed: Unsupported server configuration {
    "run": {
        "command": "",
        "args": [
            "lsp"
        ],
        "options": {
            "env": {
               // omitted
            }
        }
    },
    "debug": {
        "command": "",
        "args": [
            "lsp"
        ],
        "options": {
            "env": {
               // omitted
            }
        }
    }
}.
Couldn't start client Deno Language Server

Versions

vscode: 1.57.1 deno: 1.11.0 extension: 3.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant