vscode 特定文件名的设置

vscode setting for specific filename

我想为特定文件应用设置,我看到的关于此主题的唯一答案是特定于语言的设置。我怎样才能做到这一点?

目前,您无法通过本机实现此功能。根据他们的 documentation 他们说:

VS Code provides two different scopes for settings:

  • User Settings - Settings that apply globally to any instance of VS Code you open.
  • Workspace Settings - Settings stored inside your workspace and only apply when the workspace is opened.

您必须在他们的 github 上提交功能请求以获得支持