Skip to content

textDocument/completion build stage and arg name lookups do not work in Bake files under a wsl$ host #396

@rcjsuen

Description

@rcjsuen

We should find and suggest base as a build stage.

target "build" {
  target = ""
  dockerfile = "Dockerfile"
}
ARG VAR=value
FROM scratch AS base
[Trace - 7:41:54 AM] Sending request 'textDocument/completion - (973)'.
Params: {
    "textDocument": {
        "uri": "file://wsl%24/docker-desktop/tmp/docker-bake.hcl"
    },
    "position": {
        "line": 1,
        "character": 12
    },
    "context": {
        "triggerKind": 1
    }
}
[Trace - 7:41:54 AM] Received response 'textDocument/completion - (973)' in 8ms.
Result: {
    "isIncomplete": false,
    "items": []
}

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions