sshcode 和 VS Code 远程开发扩展有什么区别



我真的很喜欢这个概念,即我可以使用笔记本电脑编写代码,但所有困难的事情都将在服务器中运行。

所以我做了一些研究,找到了2个解决方案:

  1. 由Coder Technologies Inc.(https://github.com/cdr/sshcode(推出的sshcode

  2. VS 代码远程开发扩展 (https://github.com/Microsoft/vscode-remote-release(

在我短时间内,我想 2 个解决方案是相同的。

但是,如果您有更深入的理解,请给我一些比较,以便我可以正确决定哪种情况应该使用 sshcode,而其他一些情况我应该使用 VS Code 远程开发扩展。

非常感谢!

不幸的是,sshcode的开发人员弃用了它并停止了维护,转而支持他们的另一个开源项目,代码服务器https://github.com/cdr/code-server

所以我将比较这两者。

第一个是Microsoft VS Code 远程开发扩展,它将本地 VS Code 连接到在开发服务器上运行的 VS Code 的远程实例。 (在其短暂的生命中,sshcode也这样做了。

第二个是代码服务器,它将本地 Web 浏览器连接到 VS Code 的远程实例。

Question

1. I have VS Code installed in my local machine.
2. I have a remote machine where I have some docker container running.
3. I am able to remote ssh into this machine from VS.
4. I am able to using Remote Development to use VS Code to run and build code locally.

Requirement

Can I use the feature in a way such that I can directly get inside container in the remote instance and start developing my code in there using VS Code feature like when I reopen the folder in container instead of opening it on local machine, it needs to open in the container that is running inside the instance.

最新更新