- Open Visual Studio Code.
- Open the Command Palette by pressing
Ctrl+Shift+P
. - Type "Open Settings (JSON)" and select it from the list.
- In the
settings.json
file, add the following line:"window.title": "${dirty}${separator}${rootName}",
- Save the file.
Ubuntu中,VS Code预览窗口显示根目录名。
发布时间 2023-05-29 15:59:09作者: Legendongary