-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
8349-support-vscode-settings-schemas #8761
8349-support-vscode-settings-schemas #8761
Conversation
@akosyakov @vince-fugnitto
Thanks |
6032007
to
71c2b7c
Compare
packages/preferences/src/browser/preferences-json-schema-contribution.ts
Outdated
Show resolved
Hide resolved
packages/preferences/src/browser/preferences-json-schema-contribution.ts
Outdated
Show resolved
Hide resolved
I think it is good enough scope for this PR. Not sure about 8349. There can be future work done on preference UI like vscode that shows all folders in workspace and their specific preferences.
Maybe le'ts keep it workspace and folder for now.
There should one less warning on problem view about missing schema for folder. |
… folder schema uris Signed-off-by: Dan Arad <dan.arad@sap.com>
762873e
to
bd57b03
Compare
@amiramw see my comments - updated. Please review again. Also, please rerun again second build (Error: The process '/usr/bin/xvfb-run' failed with exit code 1) Thanks. |
@danarad05 i see now that the warning about folder scehma is gone. However there are more warnings now than before for some reason. Please check. |
After "vscode://schemas/settings/folder" is now fixed, builtin extension "vscode.json-language-features" is now able to load it's contents and run validation on it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the scope of eliminating constant problem about missing schema and for showing extra warnings coming from settings folder schema this PR is good enough and seems to work fine.
There is additional work for embedding it in preference UI etc. (like in vs code). But it can be done later IMO.
Signed-off-by: Dan Arad dan.arad@sap.com
What it does
fixes: #8349 #8673
How to test
Open a workspace and check if there are warnings concerning "vscode://schemas/settings/folder" schema.
Review checklist
Reminder for reviewers