Skip to content

Fix resolving schema content on web#1198

Merged
datho7561 merged 1 commit intoredhat-developer:mainfrom
datho7561:resolve-schema-content-web
Feb 6, 2026
Merged

Fix resolving schema content on web#1198
datho7561 merged 1 commit intoredhat-developer:mainfrom
datho7561:resolve-schema-content-web

Conversation

@datho7561
Copy link
Contributor

What does this PR do?

Use a new extension point, which requests schema content by URI instead of filepath.
This is helpful, since web instances may use URIs with schemas other than file:// to refer to the files in the workspace.

Add a smoke test.

Requires redhat-developer/yaml-language-server#1173

What issues does this PR fix or reference?

Fixes #1194

Is it tested? How?

New integration/smoke test

Use a new extension point, which requests schema content by URI instead
of filepath.
This is helpful, since web instances may use URIs with schemas other
than `file://` to refer to the files in the workspace.

Add a smoke test.

Fixes redhat-developer#1194

Signed-off-by: David Thompson <davthomp@redhat.com>
@datho7561 datho7561 force-pushed the resolve-schema-content-web branch from 964af21 to 953ff19 Compare February 6, 2026 21:17
Copy link
Member

@shin19991207 shin19991207 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and I tested manually without issues. Thanks David!

@datho7561 datho7561 merged commit d3d3d93 into redhat-developer:main Feb 6, 2026
5 checks passed
@datho7561 datho7561 deleted the resolve-schema-content-web branch February 6, 2026 21:33
@kieran-ryan
Copy link

kieran-ryan commented Feb 6, 2026

Will test on my side as soon as a pre-release is up - awesome! 🙌

@datho7561
Copy link
Contributor Author

ahh shoot, it's not working and one of my debug window notifications got released in the prerelease 🙃 . I'll need to release a patch that removes that notification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to load schema from workspace using settings within GitLab Web IDE

3 participants