关闭 VS Code 的受限模式,需进入“设置”,搜索“Security.Workspace.Trust”,找到“控制是否在 VS Code 内启用工作区信任(Controls whether or not workspace trust is enabled within VS Code)”选项,取消勾选,重启即可完成关闭受限模式。