简体   繁体   English

无法在 vscode 中打开保存的工作区

[英]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.

相关问题 VSCode打开工作区文件夹热键 - VSCode open workspace folder hotkey 将终端选项卡保存到保存的工作区 VSCode - Save terminal tabs to saved workspace VSCode 如何让 VSCode 在当前工作区中打开? - How to get VSCode to open in current workspace? VSCode 只搜索工作区中打开的文件? [2020] - VSCode only search open files in a workspace ? [2020] VSCode 找不到符号 - 没有匹配的工作区符号 - VSCode cannot find symbols - No matching workspace symbols VSCode:无法写入工作区设置,因为没有打开工作区。 请先打开一个工作区,然后重试 - VSCode: Unable to write to Workspace Settings because no workspace is opened. Please open a workspace first and try again 无法在 VSCode 中打开 jupyter notebook - Cannot open jupyter notebook in VSCode VSCode 扩展:如果没有可用的工作区文件夹,如何打开文件? - VSCode Extension: How to open a file if no workspace folders are available? 如何让不同的快捷方式在 vscode 中打开不同的工作区 - How to have different shortcuts open different workspace in vscode 从Eclipse迁移到VSCode,Workspace中的Open Implementation / References的替代方案是什么 - Migrating from Eclipse to VSCode, what are alternatives to Open Implementation/References in Workspace
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM