vscode使用问题合集

一、连接不上

先定性,如果满足这个现象:

1、vscode使用ssh时,一直提示连接中。并且try1,try2,try3这样循环下去

2、打开终端可见如下循环输出:

[08:48:13.513] Server installation process already in progress - waiting and retrying
[08:48:14.517] Running script with connection command: ssh -T -D 58042 "192.168.31.235" bash
[08:48:14.518] Terminal shell path: C:\Windows\System32\cmd.exe
[08:48:14.900] > ]0;C:\Windows\System32\cmd.exe
[08:48:14.900] Got some output, clearing connection timeout
[08:48:14.933] "install" terminal command done
[08:48:14.933] Install terminal quit with output: 
[08:48:15.404] > 741b6048ee5c: running
[08:48:15.469] > Acquiring lock on /home/zhangyasheng/.vscode-server/bin/c3f126316369cd610563c75b
> 1b1725e0679adfb3/vscode-remote-lock.zhangyasheng.c3f126316369cd610563c75b1b1725e
> 0679adfb3
[08:48:15.478] > Installation already in progress...
> If you continue to see this message, you can try toggling the remote.SSH.useFloc

3、你的服务器关闭了外网的连接或者外网很慢

那么,请参考这篇文章:

vscode ssh连接失败_我歌月徘徊、的博客-CSDN博客_vscode连不上ssh

Or

vscode卡在Setting up SSH Host XX:Copying VS Code Server to host with scp_二十一@的博客-CSDN博客

即使解决了问题,也请把vscode的更新关掉,以避免此问题。

二、闪退

多行操作的时候闪退,网上没找到合适的方法。但意外发现,删掉Vscode的缓存之后问题就没有了。

缓存路径:

C:\Users\username\AppData\Roaming\Code\

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值