5

vscode+wsl2+remote-container 有大佬用这个组合吗?我的好慢呀

 3 years ago
source link: https://www.v2ex.com/t/800580
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
vscode+wsl2+remote-container 有大佬用这个组合吗?我的好慢呀

V2EX  ›  Visual Studio Code

vscode+wsl2+remote-container 有大佬用这个组合吗?我的好慢呀

  xlinux · 1 天前 · 1031 次点击
9 条回复    2021-09-09 09:33:04 +08:00

AoEiuV020

AoEiuV020   1 天前

好慢是多慢,
我是 vscode 放 wsl2 里,remote 是 hyperv 虚拟机里的 docker,没觉得什么慢,

onikage

onikage   1 天前

具体是什么慢? 编译还是界面交互? 之前拿这个组合做 fabric 开发, 感觉良好.

Rheinmetal

Rheinmetal   1 天前

机器配置如何 做的什么开发?

sparkinglemon

sparkinglemon   1 天前 via iPhone

不用 /mnt 速度提升明显,把文件放到 wsl2 内的目录下会好不少

Chipmunker

Chipmunker   1 天前

vscode + wsl1 + remote 同样很慢,写 c++ 代码格式化一下代码要等几秒钟。输入点号,过几秒才会出现类成员函数名提示。项目是放在 /mnt/d/ 下的,听说放在 \\wsl$ 会好一些,我也没有试过。

Chipmunker

Chipmunker   1 天前

试了 CLion 调用 WSL1 下的工具链,明显快多了。现在用 CLion 多一些了。

zxCoder

zxCoder   1 天前 via Android

@Chipmunker 项目要放在 WSL 下,不然很慢

xlinux

xlinux   23 小时 0 分钟前

@sparkinglemon
@zxCoder 确实是,在 wsl2 里面的项目使用 remote-containers 快很多,在 windows 宿主机下的项目使用 remote-containers 好慢。

chihiro2014

chihiro2014   22 小时 24 分钟前

之前尝试过 wsl2+idea+docker,效果不是很理想,在设置项目 JDK 的时候,就会被卡死

关于   ·   帮助文档   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   1373 人在线   最高记录 5497   ·  

创意工作者们的社区

World is powered by solitude

VERSION: 3.9.8.5 · 18ms · UTC 23:57 · PVG 07:57 · LAX 16:57 · JFK 19:57
♥ Do have faith in what you're doing.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK