我正在尝试更改 VS Code 服务器文件夹安装位置。该功能最近已实现,我找到了以下参考文献[1]、[2]。但是,我自己无法实现它,并且在尝试时收到以下错误消息:
C:\\Users\\username/.ssh/config: line 1: Bad configuration option: remote.ssh.serverinstallpath
C:\\Users\\username/.ssh/config: terminating, 1 bad configuration options
Run Code Online (Sandbox Code Playgroud)
配置文件的构建方式如下
"remote.SSH.serverInstallPath": {"hostname": "/test/location"}
Host hostname
HostName hostname
User username
Run Code Online (Sandbox Code Playgroud)
注意:我已将连接隐藏为“主机名”,将用户隐藏为“用户名”