[英]Cannot open saved workspace in vscode
I have created a workspace with five folders in it.我创建了一个包含五个文件夹的工作区。 It works fine whenever I first create it.
每当我第一次创建它时,它都可以正常工作。 I go
File > Save Workspace as
and save it in my Documents directory.我转到
File > Save Workspace as
并将其保存在我的文档目录中。 Then I close and reopen VSCode and go to open the workspace, and it isn't there.然后我关闭并重新打开 VSCode 并打开工作区,它不存在。 I go to open recent workspaces, and there are no files visible in explorer window.
我去打开最近的工作区,在资源管理器窗口中没有可见的文件。 I can open the workspace configuration file but I cannot open the workspace itself.
我可以打开工作区配置文件,但无法打开工作区本身。
I'm on Linux Mint tessa我在 Linux Mint tessa
I found the problem.我发现了问题。 The workspace was saved without a file extension.
保存的工作区没有文件扩展名。 I manually added
.code-workspace
to the filename and now I can open it as a workspace.我手动将
.code-workspace
添加到文件名,现在我可以将它作为工作区打开。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.