问题描述

使用 vscode 调试代码,在加载时候会报错,启动调试项目也特别慢,报错内容如下:

Problems loading reference 'https://json.schemastore.org/package': Unable to load schema from 'https://json.schemastore.org/package': Request vscode/content failed unexpectedly without providing any details.

原因

网络原因,无法连接到 schema 。

解决方法

设置离线模式

打开 VSCode 的 File ==》Preferences ==》Settings ==》Application

点击 Edit in settings.json 打开设置文件,添加一行 json.schemaDownload.enable": false

保存,重启 vscode 即可。

最后修改:2021 年 07 月 22 日 10 : 30 AM
如果觉得我的文章对你有用,请随意赞赏