TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

VS Code on a Remote Server

264 pointsby maxfan8about 6 years ago

36 comments

carreauabout 6 years ago
Try-it on mybinder.org, w&#x2F;o login or signup (in Jupyter): <a href="https:&#x2F;&#x2F;mybinder.org&#x2F;v2&#x2F;gh&#x2F;betatim&#x2F;vscode-binder&#x2F;master?urlpath=lab" rel="nofollow">https:&#x2F;&#x2F;mybinder.org&#x2F;v2&#x2F;gh&#x2F;betatim&#x2F;vscode-binder&#x2F;master?urlp...</a> Ephemeral machine. enjoy.
评论 #19394649 未加载
评论 #19395085 未加载
morpheuskafkaabout 6 years ago
Wow. This is going to be a major game changer for remote development work, and it&#x27;s a perfect counterpoint to the &quot;Electron is stupid just write it in C&quot; that we hear a lot. Because of the flexibility provided by separating the Node-based logic and processing layer from the web-based presentation layer, VS Code lent itself well to this kind of innovation. Of course, browser-based IDEs aren&#x27;t new. But they&#x27;ve always been a beast of their own; this will work seamlessly with the tight VS Code integrations numerous languages and frameworks have.
评论 #19395498 未加载
评论 #19394596 未加载
评论 #19395265 未加载
评论 #19395425 未加载
评论 #19397092 未加载
gripfxabout 6 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;theia-ide&#x2F;theia" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;theia-ide&#x2F;theia</a> Theia is the Monaco editor on a remote server. I&#x27;ve found the docker containers to be mostly stable
评论 #19394965 未加载
评论 #19395823 未加载
ashton314about 6 years ago
Nice. This is really cool. I know a lot of people who love VS Code; nice to see it get a handy feature.<p>For any Emacs users looking for an equivalent, you can edit a file over ssh like so:<p><pre><code> emacs &#x2F;ssh:username@host.example.com:~&#x2F;path&#x2F;to&#x2F;file.txt </code></pre> Dired, etc. works like a charm. Best if you have your ssh key installed on the remote box.
评论 #19395711 未加载
评论 #19395985 未加载
wybiralabout 6 years ago
I had the worst interview with these people (codercom) that I&#x27;ve ever had in my career as a developer.<p>It essentially consisted of them sitting me down with an old crappy laptop that kept logging out every few seconds and asked me to write an encrypted reverse proxy from scratch while simultaneously asking unrelated technical questions with a time limit.<p>I guess to test how people code with distractions and stress? But, yeah I definitely don&#x27;t want to work anywhere that looks at their potential developers that way.
评论 #19396619 未加载
评论 #19396511 未加载
评论 #19396580 未加载
moltarabout 6 years ago
I wish there was a way to run VS Code in headless server mode on a remote host and then connect to attach to it from my local machine.
评论 #19395345 未加载
locusofselfabout 6 years ago
I am excited to try this and hope it proves easy to setup and reliable to use.<p>X11 forwarding is just terrible, completely useless over WAN.<p>sshfs is also a bad solution for coding as it doesn&#x27;t do inotify properly, so if a file changes on the remote end it doesn&#x27;t properly notify your local mount of the changes. Even worse, doing tons of small i&#x2F;o operations (which is exactly what git does) is terribly slow with sshfs over WAN.<p>Right now I do most of my work in vscode locally and use the &quot;Run on Save&quot; plugin to automatically rsync my code changes to the remote server(s). It&#x27;s the best solution I have found after trying many things.<p>vim is great for remote work too. very great in it&#x27;s own right. But even despite the electron-based UI, the local, &quot;native&quot; experience and plugin ecosystem of VSCode is unmatched IMO.
filleokusabout 6 years ago
Does this &#x2F; something else allow me to do something like this but with the actual VS Code app? I.e, like Live Share but in a more persistent way? I don&#x27;t really need the extra flexibility of the browser, I would just want to offload computation to a non-battery powered device.
paxysabout 6 years ago
FYI <a href="https:&#x2F;&#x2F;coder.com" rel="nofollow">https:&#x2F;&#x2F;coder.com</a> is the hosted service for this
评论 #19395947 未加载
m0ngr31about 6 years ago
I&#x27;ve been looking for something just like thing for a while. Apache Che didn&#x27;t do much for me. Just didn&#x27;t work the way I thought it should. How&#x27;s the Firefox support for this?
评论 #19394802 未加载
raihansaputraabout 6 years ago
Can this be made an iOS app &#x2F; PWA with proper keybindings for iPad with keyboard? Wondering as I can’t use my JupyterLab on the iPad as it does not transmit ‘Shift + Enter’ to run the code.
lobo42about 6 years ago
When we started the Theia project (theia-ide.org), we considered doing a large patch on VS Code as well. But we decided to go down a more sustainable approach by reusing the important building blocks from VS code (editor and vscode extension protocol) with stable APIs, because rebasing a large patch on a fast paced project is a PITA.<p>Theia is about to complete the VS Code extension support. At that point it will be the better option as it is architected to run in remote scenarios from the ground up.
评论 #19397810 未加载
ourcatabout 6 years ago
Interesting. Only recently I came across <a href="https:&#x2F;&#x2F;stackblitz.com" rel="nofollow">https:&#x2F;&#x2F;stackblitz.com</a> which is more or less VS Code in the browser.<p>Very useful.
评论 #19395036 未加载
jeswinabout 6 years ago
Interesting in its own right, but the actual heavy lifting here was done by the vscode team; in how they envisioned and implemented the clean separation of UI and backend (such as language server protocol).<p>There are other previous attempts at running vscode in the browser - such as Ives Van Hoorne&#x27;s very popular <a href="https:&#x2F;&#x2F;codesanbox.io" rel="nofollow">https:&#x2F;&#x2F;codesanbox.io</a>. Curious if code is being shared between these projects.
评论 #19396864 未加载
Scarbuttabout 6 years ago
What this solves is one of the reasons why many vim&#x2F;emacs users can&#x27;t leave&#x2F;change their editors so easily ;)
bjjbjabout 6 years ago
Running this on a VPS and works great.<p>Exactly what I was looking for to code at my public library, which provides macs but no permissions to install software.<p>I haven&#x27;t run into any issues so far, except for the obvious permissions issues which were easy to fix. Extensions all install. I&#x27;m sure I&#x27;ll have more to say about it as I use it more heavily.
Uninenabout 6 years ago
Remote interpreter support is something I&#x27;ve been waiting for a long time. No word since September on the timetable, though: <a href="https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;vscode-python&#x2F;issues&#x2F;79" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;vscode-python&#x2F;issues&#x2F;79</a>
gravypodabout 6 years ago
This will be very cool when someone packages it up to be a full IDE experience. Things like automatic language completion for multiple languages, project based view, etc. This is amazing and might make things like a chromebook much more viable for me and many other developers.
评论 #19395272 未加载
评论 #19395620 未加载
评论 #19395833 未加载
stanislavbabout 6 years ago
The phone number requirement pissed me off a bit.
chilleeabout 6 years ago
Facebook does a lot of work like this for its internal development uses (also, when it used to open source Nuclide).<p>I think this is a good first step, but there&#x27;s a lot more problems that are harder to solve than what this offers (and are what I&#x27;d consider the main problems that need to be solved...)<p>One example is language services. Integrating something like C++ autocomplete is difficult, and not something they seem to have done (looking at their page). The right way to do it is to run the C++ autocomplete on the server, and have some way of providing those suggestions over the connection to your local editor.
评论 #19394781 未加载
评论 #19396520 未加载
arriuabout 6 years ago
This might be a ridiculous question but I&#x27;m looking for a way to do windows C++&#x2F;C# development from a mac. Is there any chance this might allow such a workflow? Unfortunately, I need to access some pretty low level dll&#x27;s that are not cross platform compatible at all.<p>I use a mac for all other development except for this project. I have nothing against windows, just looking to simplify my development workflow across all projects.
评论 #19408060 未加载
评论 #19399635 未加载
评论 #19396117 未加载
Dangerangerabout 6 years ago
The other day I setup a version of this using Theia-IDE[0], which uses Monaco as the editor I believe. The project is open source (Apache-2.0) and has a strong community.<p>It would be a nice project to get a Docker service running where users could sign-up and get an instance with persistent storage for their projects.<p>[0] <a href="https:&#x2F;&#x2F;www.theia-ide.org&#x2F;doc&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.theia-ide.org&#x2F;doc&#x2F;</a>
评论 #19401342 未加载
kstenerudabout 6 years ago
I just run a full remote mate based Ubuntu desktop that I connect to via chrome remote desktop or x2go. I made a quick script that I run inside a vps instance or container to build it:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;kstenerud&#x2F;ubuntu-dev-installer&#x2F;blob&#x2F;master&#x2F;install-virtual-desktop.sh" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kstenerud&#x2F;ubuntu-dev-installer&#x2F;blob&#x2F;maste...</a>
sscarduzioabout 6 years ago
I wish also IntelliJ Idea could do this. Very nice BTW.
评论 #19395180 未加载
gbraadabout 6 years ago
I tried both Theia and Coder-com, but at the moment it seems Codercom comes closest to the actual VSCode feel. Theia has modified stuff to be better suited to use from a browser, but actually this took away from the customization options. I prefer to have minimal interface... and with codercom I can get close, except it still has a menubar to show.
评论 #19398308 未加载
bribriabout 6 years ago
I&#x27;m going to try baking all my dependencies for my language plugins and editor tools. Could be interesting with the built in terminal.<p><pre><code> FROM codercom&#x2F;code-server RUN apt-get update RUN apt-get -y install curl gnupg RUN curl -sL https:&#x2F;&#x2F;deb.nodesource.com&#x2F;setup_11.x | bash - RUN apt-get -y install nodejs</code></pre>
kbumsikabout 6 years ago
I&#x27;ve been always looking for something like this. I used Cloud9 [1] for a moment but I gave up using this after Amazon acquired it. It&#x27;s shame to look how a tech gaint destroyed a great product.<p>[1]: <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;cloud9&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;cloud9&#x2F;</a>
评论 #19395003 未加载
sirsukiabout 6 years ago
I have to say it because no one else has yet. Vim, Emac, Nano, Pico, etc. has been doing this with good ol&#x27; fashioned SSH decades before this. It fascinates me to see editors constantly reinvented over and over. Is text really that complicated?
评论 #19397741 未加载
评论 #19396047 未加载
评论 #19396124 未加载
xiaodaiabout 6 years ago
I want to see this work with Atom so bad. Cos, Julia&#x27;s Juno is only on Atom.
评论 #19395727 未加载
activatedgeekabout 6 years ago
I&#x27;ve been using this on my remote workstation for the past week and is pretty cool! Still rough around the edges but works very well so far!<p>I&#x27;ve almost let go of IntelliJ in favor of this.
keyleabout 6 years ago
No pun intended... Is the point of this to run chrome locally to run a webkit instance on a remote server, with added latency?
评论 #19395567 未加载
TheSpiciestDevabout 6 years ago
I can&#x27;t find anything yet regarding debugging, I&#x27;m curious how that would work.
评论 #19395636 未加载
dzhiurgisabout 6 years ago
Dreams of working over 2kbps satellite link (Iridium Go) - shattered.
评论 #19394896 未加载
philonoistabout 6 years ago
Why would anybody use Atom even after this?
cstratabout 6 years ago
I was going to say this is the same thing as coder.com, but this is their open source repo.
ToFab123about 6 years ago
Why not just make a remote desktop &#x2F; VCN connection to the server?
评论 #19394439 未加载
评论 #19394435 未加载
评论 #19395103 未加载
评论 #19395647 未加载
评论 #19394376 未加载