Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "Unable to load schema from 'apprt://.manifest.schema.json'" displayed when editing manifest.json file #48

Closed
ctjdr opened this issue Jun 9, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Projects
Milestone

Comments

@ctjdr
Copy link
Owner

ctjdr commented Jun 9, 2022

Describe the bug
Sometimes, when editing a manifest.json file, VS Code displays the following error in the editor:

Error "Unable to load schema from 'apprt://.manifest.schema.json'"

This is causes by the SchemaDocumentContentProvider being registered too late, when VS Code is started with a manifest.json files already opened.

In microsoft/vscode#127812 there is a solution described by adding "onFileSystem:yourScheme" to the list of activation events for an extension.

@ctjdr ctjdr added the bug Something isn't working label Jun 9, 2022
@ctjdr ctjdr added this to the 0.4.2 milestone Jun 9, 2022
@ctjdr ctjdr self-assigned this Jun 9, 2022
@ctjdr ctjdr added this to In progress in The Board Jun 9, 2022
@ctjdr ctjdr moved this from In progress to Done in The Board Jun 9, 2022
@ctjdr ctjdr closed this as completed Jun 9, 2022
@ctjdr ctjdr moved this from Done to Rolled out in The Board Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
The Board
Rolled out
Development

No branches or pull requests

1 participant