如何永久关闭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. 其实这些在更新日志里都有写(只不过是英文的而已)……