redhat-developer / redhat-developer/vscode-yaml

Eclipse Theia incompatibility caused by vscode minimal version

Open
#509 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

While trying to make vscode-ansible extension be loaded by Eclipse Theia, I discovered that latest version of vscode-yaml listed on open-vsx.org store within theia is 0.17 and not 0.18. I suspect this is caused by listing some requirements incompatible with theia like engines.vscode.

With 0.17 what happens is that extension fails to instantiate with an error message like:

The language client requires VS Code version ^1.52.0 but received version 1.50.0

Bumping the required version to 1.52.0 is likely a mistake that prevents use under theia and instead we should only require 1.50.0. Still, I am not sure if this does not cause some problems with the language server itself.

Related links

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 by comparing the vscode-yaml 0.17 and 0.18 metadata, focusing on the VS Code engine requirement that prevents loading under Eclipse Theia 1.50. Review the linked Theia issue and ansible-community/vscode-ansible#112, then verify whether changing the minimum version preserves language-server behavior and allows the extension to instantiate.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.