redhat-developer / redhat-developer/vscode-yaml

Intellisense issues with custom schema file 🤧

Open
#1,037 2 comments 0 reactions 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

Describe the bug

While triggering the intellisense completion, the schema does not load properly, causing to an infinity load if the completion dropdown.

This issue exists from version 1.14.0, and related to this change (probably SSL issues):
Version 1.14.0 change

Expected Behavior

Able to insert items based on the schema.

Current Behavior

https://github.com/redhat-developer/vscode-yaml/assets/77183871/58736821-59ba-470d-be68-a6bb226ecf12

Steps to Reproduce

  1. Install version 1.14.0 to later
  2. Set a Schema via your settings to the specified file - make sure the shema behind a custom server that requires SSLs
  3. Trigger the intellisense - no results

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)

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 reproducing the issue on macOS with a custom schema served from an SSL-requiring server, using the schema setting and IntelliSense completion described in the report. Trace the schema-loading path and completion entry point to identify why the schema is not available; done means completion inserts schema items without an infinite load.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.