如何在VS Code上本地保存远程工作区

时间:2020-11-10 11:15:20

标签: macos visual-studio-code

我已经通过SSH设置了一个远程工作区。我想将工作空间保存在本地,因此我可以双击以启动所有内容。但是,当我选择“将工作空间另存为”时,“显示本地”没有选项。

这是我在数百次之前所做的事情,不确定最后一次更新是否破坏了此版本(1.51.0),或者我是否记错了我是如何实现的。

2 个答案:

答案 0 :(得分:0)

似乎这是一个有意更改,已还原。我想它将在下一个版本中提供。同时,我一直在根据先前成功保存使用的格式创建手动工作区文件。 https://github.com/microsoft/vscode/issues/109713

答案 1 :(得分:0)

F1 > 日志级别 > 跟踪

[2021-04-16 22:30:50.783] [renderer4] [trace] load() - enter {"$mid":1,"fsPath":"c:\\QGB\\babun\\cygwin\\bin\\qgb\\__main__.py","_sep":1,"external":"file:///c%3A/QGB/babun/cygwin/bin/qgb/__main__.py","path":"/C:/QGB/babun/cygwin/bin/qgb/__main__.py","scheme":"file"}
[2021-04-16 22:30:53.559] [renderer4] [trace] CommandService#executeCommand workbench.action.files.openFile
[2021-04-16 22:30:53.569] [renderer4] [trace] telemetry/workbenchActionExecuted {"id":"workbench.action.files.openFile","from":"keybinding"}


[2021-04-16 22:48:08.989] [renderer4] [trace] load() - enter {"$mid":1,"fsPath":"c:\\QGB\\babun\\cygwin\\bin\\qgb\\__main__.py","_sep":1,"external":"file:///c%3A/QGB/babun/cygwin/bin/qgb/__main__.py","path":"/C:/QGB/babun/cygwin/bin/qgb/__main__.py","scheme":"file"}
[2021-04-16 22:48:09.551] [renderer4] [trace] telemetry/editorOpened {"typeId":"workbench.editors.files.fileEditorInput","resource":{"mimeType":"text/x-bat, text/plain","scheme":"file","ext":".cmd","path":-1715722077}}
[2021-04-16 22:48:09.646] [renderer4] [trace] load() - enter {"$mid":1,"fsPath":"c:\\QGB\\babun\\cygwin\\bin\\qgb\\!.cmd","_sep":1,"external":"file:///c%3A/QGB/babun/cygwin/bin/qgb/%21.cmd","path":"/C:/QGB/babun/cygwin/bin/qgb/!.cmd","scheme":"file"}
[2021-04-16 22:48:09.773] [renderer4] [trace] load() - resolved content {"$mid":1,"fsPath":"c:\\QGB\\babun\\cygwin\\bin\\qgb\\!.cmd","_sep":1,"external":"file:///c%3A/QGB/babun/cygwin/bin/qgb/%21.cmd","path":"/C:/QGB/babun/cygwin/bin/qgb/!.cmd","scheme":"file"}
[2021-04-16 22:48:09.785] [renderer4] [trace] load() - created text editor model {"$mid":1,"fsPath":"c:\\QGB\\babun\\cygwin\\bin\\qgb\\!.cmd","_sep":1,"external":"file:///c%3A/QGB/babun/cygwin/bin/qgb/%21.cmd","path":"/C:/QGB/babun/cygwin/bin/qgb/!.cmd","scheme":"file"}
[2021-04-16 22:48:09.800] [renderer4] [trace] telemetry/fileGet {"mimeType":"text/x-bat, text/plain","ext":".cmd","path":-1715722077,"reason":1}