Skip to content

textDocument/inlineCompletion fails for a Bake file in a wsl$ host #384

@rcjsuen

Description

@rcjsuen
[Trace - 5:57:19 PM] Sending request 'textDocument/inlineCompletion - (27)'.
Params: {
    "context": {
        "triggerKind": 1,
        "selectedCompletionInfo": {
            "range": [
                {
                    "line": 0,
                    "character": 0
                },
                {
                    "line": 0,
                    "character": 1
                }
            ],
            "text": "target \"targetName\" {\r\n  \r\n}"
        }
    },
    "textDocument": {
        "uri": "file://wsl%24/docker-desktop/tmp/docker-bake.hcl"
    },
    "position": {
        "line": 0,
        "character": 1
    }
}


[Trace - 5:57:19 PM] Received response 'textDocument/inlineCompletion - (27)' in 5ms. Request failed: LSP client sent invalid URI: file://wsl%24/docker-desktop/tmp/docker-bake.hcl (-32600).
[Error - 5:57:19 PM] Request textDocument/inlineCompletion failed.
  Message: LSP client sent invalid URI: file://wsl%24/docker-desktop/tmp/docker-bake.hcl
  Code: -32600

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions