Bug summary
When a .gitlab-ci.yml includes the same component URL (or the same local: template path) more than once, input-name completions only appear under the first occurrence. Triggering completion in the second include's inputs: block returns nothing.
Steps to reproduce
- Open a
.gitlab-ci.yml that includes the same component twice (see the snippet below).
- Under the second include's
inputs:, add a blank line indented to match the input keys.
- Trigger completion (it should pop automatically, or press Ctrl+Space).
- Observe the completion list.
Expected behavior
The second include offers the same input-name suggestions as the first — the component's inputs, minus any already present under that second include.
Actual behavior
The completion list is empty under the second include. Only the first occurrence offers suggestions.
Component context (if applicable)
No response
Minimal .gitlab-ci.yml snippet
include:
- component: $CI_SERVER_FQDN/group/project/markdown-lint@markdown-lint-1
inputs:
allow_failure: "false"
- component: $CI_SERVER_FQDN/group/project/markdown-lint@markdown-lint-1
inputs:
# trigger completion here — returns nothing on the duplicate
Extension logs
Affected area
Completion provider
Extension version
0.14.1
VS Code version
1.124.2
Node.js version
22
Operating system
macOS
Pre-submit checks
Bug summary
When a
.gitlab-ci.ymlincludes the same component URL (or the samelocal:template path) more than once, input-name completions only appear under the first occurrence. Triggering completion in the second include'sinputs:block returns nothing.Steps to reproduce
.gitlab-ci.ymlthat includes the same component twice (see the snippet below).inputs:, add a blank line indented to match the input keys.Expected behavior
The second include offers the same input-name suggestions as the first — the component's inputs, minus any already present under that second include.
Actual behavior
The completion list is empty under the second include. Only the first occurrence offers suggestions.
Component context (if applicable)
No response
Minimal .gitlab-ci.yml snippet
Extension logs
Affected area
Completion provider
Extension version
0.14.1
VS Code version
1.124.2
Node.js version
22
Operating system
macOS
Pre-submit checks