-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Problems loading settings schemas #177142
Comments
@sandy081 This is probably caused by delaying the registration of the |
Can this be at least workarounded somehow? It's very irritating - I cant edit any workspace settings |
I'm sure a hotfix will release the fix to all of us soon, but here's a workaround for now: I found that poking any If you use the VSCode extension Settings Cycler, you can set up a hotfix keybind (like settings.json "settings.cycle": [
{
"id": "copilot",
"values": [
{
"github.copilot.inlineSuggest.enable": false
},
{
"github.copilot.inlineSuggest.enable": true
}
]
},
//! https://github.com/microsoft/vscode/issues/177142
{
"id": "hotfix",
"values": [
{
"json.schemaDownload.enable": true
},
{
"json.schemaDownload.enable": false
}
]
}
],
//! https://github.com/microsoft/vscode/issues/177142
"json.schemaDownload.enable": true, keybindings.json //! https://github.com/microsoft/vscode/issues/177142
{
"key": "ctrl+shift+alt+q",
"command": "settings.cycle.hotfix"
}, details
I can confirm that setting After further investigation, I find that poking any
So this issue may have to do with unstable startup behavior of JSON schema handling, perhaps isolated to VSCode's own |
I have encountered a similar error: So nothing I do in my settings.json file has any effect. Not only that, but when I type "settings.json" into the Settings search bar, the only thing that comes up is a reference to a defaultSettings.json file under |
In my case I think I found the culprit:
The property above gives a "Value is not accepted" error even though it's a valid value that works when the Svelte plugin is enabled (it's currently disabled). As soon as I delete this property, the "Unable to load schema" error goes away. Weird. Update: I spoke too soon -- after reloading VS Code, the "Unable to load schema" error is back 😓 |
A few days/restarts later, and the error is gone. Looks like a Heisenbug. 🤷♀️ |
For me the problem message appears in a typescript node project when I have
|
Currently experiencing this issue. I can overcome it temporarily following a suggestion elsewhere where I add or remove Version: 1.80.0 (user setup) |
Currently experiencing the issue on my linux machine. On my Windows machine (with the same configuration file, since it's synchronized) it works fine on stable, but not on insiders. Can confirm that toggling Linux version: Windows version (stable): Windows version (insiders): |
Reopening this because it can be still reproduced. |
I am getting this error and I can't figure out how to fix it.
|
Please try our insiders and see if you are still seeing it |
Currently seeing this while in a
|
@garrettw Can you please try insiders and see if you are still seeing this? |
I still saw this issue when opening settings.json on: Version: 1.80.1 (user setup) |
@sandy081 As I mentioned, this was in GitHub Codespaces. I can't change the version of VS Code they serve to the browser. |
There should be an action Switch to Insiders... in the settings gear icon in the bottom left corner, do you have that? |
uninstalled installed all extensions, including- |
Type: Bug
I got the following error randomly while changing workspace settings. I used the extension bisect feature to see if it was an extension, but nothing was identified on the very first pass. The issue continued to persist, until Visual Studio Code was reloaded.
Here's the message that appeared in the problem pane:
Problems loading reference 'vscode://schemas/settings/workspace': Unable to load schema from 'vscode://schemas/settings/workspace': cannot open vscode://schemas/settings/workspace. Detail: Unable to resolve text model content for resource vscode://schemas/settings/workspace.
I found a similar issue regarding multi-root workspaces on github: #124491 (comment)
My workspace has multiple folders. I only edited the workspace settings and I never touched the folder settings for the workspace. I did made some recent adjustments by installing/uninstalling extensions, switching profiles, and editing workspace settings.
VS Code version: Code - Insiders 1.77.0-insider (bbe8e87, 2023-03-14T05:23:49.668Z)
OS version: Windows_NT x64 10.0.23403
Modes:
Sandboxed: Yes
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (11)
A/B Experiments
The text was updated successfully, but these errors were encountered: