redhat-developer / redhat-developer/vscode-yaml

Auto-complete is not working for first-level elements of some schemas

Open
#310 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
829
Forks
260
Avg merge
5h 43m
Merged PRs (30d)
1

Description

I created test in Yaml Language Server and it is working fine https://github.com/apupier/yaml-language-server/tree/tesCamelK

I created similar test in VS Code Yaml and it is failing: https://github.com/apupier/vscode-yaml/tree/testCamelKSchema

in UI, to reproduce manually:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the working Yaml Language Server test on the tesCamelK branch with the failing VS Code Yaml testCamelKSchema branch, especially test/testFixture/schemas/camelk_schema.json and test/testFixture/completion/completion-secondlevel.camelk.yaml. Bind the schema to a .cmalek.yaml file, trigger completion at the end, and use the test or language-server output to confirm that first-level completions are returned.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.