如何永久关闭vscode的安全提示

Do you trust the authors of the files in this folder?
Code provides features that may automatically execute files in this folder.

If you don't trust the authors of these files, we recommend to continue in restricted mode as the files may be malicious. See our docs to learn more.

image.png

阅读 11.2k
1 个回答

这是 1.57 版本的新功能。

你可以通过调整 security.workspace.trust.enabled 来控制这项功能是否启用,默认是 true

image.png

P.S. 其实这些在更新日志里都有写(只不过是英文的而已)……

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进