且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

启动 Visual Studio Code 时如何打开默认工作区?

更新时间:2022-12-04 18:10:15

设置设置

"files.hotExit": "onExitAndWindowClose"
"window.restoreWindows": "folders"

请注意,如果您通过资源管理器中的文件启动 VSC,它将不会在您当前的工作区中打开该文件并且工作区信息将丢失(您必须在保存时再次手动打开工作区)

Note if you launch VSC by a file in explorer, it will not open the file in your current workspace and the workspace information will be lost (you'll have to open the workspace manually again on saving)