【问题标题】:How to save remote workspace locally on VS Code如何在 VS Code 上本地保存远程工作区
【发布时间】:2021-02-22 07:54:23
【问题描述】:

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

这是我之前做过数百次的事情,不确定上次更新是否破坏了这个(1.51.0),或者我是否记错了我是如何实现它的。

【问题讨论】:

    标签: macos visual-studio-code


    【解决方案1】:

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

    【讨论】:

      【解决方案2】:

      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}
      
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2018-07-25
        • 1970-01-01
        • 1970-01-01
        • 2020-01-16
        • 1970-01-01
        • 2021-05-22
        相关资源
        最近更新 更多