Ubuntu中,VS Code预览窗口显示根目录名。

发布时间 2023-05-29 15:59:09作者: Legendongary
  1. Open Visual Studio Code.
  2. Open the Command Palette by pressing Ctrl+Shift+P.
  3. Type "Open Settings (JSON)" and select it from the list.
  4. In the settings.json file, add the following line: "window.title": "${dirty}${separator}${rootName}",
  5. Save the file.