redhat-developer / redhat-developer/vscode-yaml

VSCode extension yaml auto-complete not working in vscode 1.43.1 and yaml extension 0.7.2

Open
#290 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I am testing vscode 1.43.1 example from here and have some issues.
When I set registerCompletionItemProvider language option to "yaml", the auto complete item results not showing anymore until I uninstall the yaml extension.
It worked on vscode 1.42.1 with yaml extension. Does anybody encounter the same issue?

I also ask this problem in vscode github:
https://github.com/microsoft/vscode/issues/93279#issue-586666956

  • VSCode Version: 1.43.1
  • OS Version: Mac os mojave 10.14.5
  • YAML Extension Version: 0.7.2

Steps to Reproduce:

  1. Install YAML extension.
  2. Using vscode-extension-sample: completions. The trigger character is ., and I modify the language from plaintext to yaml.
  3. Run it and open an empty yaml file, then keying console..

Input console. in the empty yaml file. There has no item to show.
nnn

When I disable YAML extension, it seems work.
yy

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

Start with completions-sample/src/extension.ts around line 49 and reproduce the behavior using VS Code 1.43.1, the YAML extension 0.7.2, and an empty YAML file. Compare completion behavior with the YAML extension enabled and disabled; done means the sample's completion items appear while the YAML extension remains enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.