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.

Vscode.dev

803 pointsby connor4312over 3 years ago

47 comments

n8cpdxover 3 years ago
Very cool stuff.<p>I remember being at Build 2018 and asking the PM on the Live Share team if they had any plans to bring VS Code to the browser. Maybe do managed environments for labs and companies (what GitHub code spaces now is), would be great for education. Lots of students (especially non-CS nerds, like the physics kids with a CS requirement) find environment setup to be one of the hardest parts. He seemed to think I was a piece of shit for not ‘getting’ what Live Share was all about and how those other offerings (code spaces, running in the browser without install) were bad ideas not worth considering.<p>I think the moral of the story is, if you’re a PM, don’t treat your most enthusiastic customers like shit. Or maybe do, because it won’t actually have business impact.
评论 #28933572 未加载
评论 #28935147 未加载
评论 #28933354 未加载
评论 #28936953 未加载
评论 #28933502 未加载
评论 #28933327 未加载
评论 #28940193 未加载
评论 #28937793 未加载
评论 #28935227 未加载
评论 #28933227 未加载
评论 #28937327 未加载
ARandumGuyover 3 years ago
This seems really cool, and seems like it took a lot of man hours to put together.<p>However, I&#x27;m not sure who this is for. Downloading and installing an application is not a particularly big ask for the type of people who use VSCode. The browser version will always be a compromised experience, given the inherent limitations of browser applications. Even if it works 99% of the time, that 1% would add enough friction to make it more of a hassle then it&#x27;s worth.<p>The post gave some use cases involving hardware that can&#x27;t easily run Desktop VSCode (e.g. iPads and Chromebooks). I just don&#x27;t see that being much of a use case though, except in desperate circumstances where a more capable dev machine isn&#x27;t available.<p>If there are some use cases I&#x27;m missing, I&#x27;d love to hear about them! This is a pretty new concept, and I certainly don&#x27;t know how everyone likes to code. But from my perspective, I struggle to see any situation where someone would choose to use this, and few situations where someone would have to.
评论 #28933028 未加载
评论 #28933198 未加载
评论 #28934299 未加载
评论 #28933077 未加载
评论 #28932931 未加载
评论 #28932899 未加载
评论 #28933087 未加载
评论 #28934058 未加载
评论 #28932831 未加载
评论 #28935067 未加载
评论 #28932881 未加载
评论 #28936663 未加载
评论 #28935362 未加载
评论 #28933215 未加载
评论 #28937865 未加载
评论 #28939118 未加载
评论 #28935081 未加载
评论 #28935239 未加载
评论 #28941050 未加载
评论 #28935117 未加载
评论 #28933691 未加载
评论 #28935267 未加载
评论 #28934397 未加载
评论 #28938845 未加载
up6w6over 3 years ago
Not open-source yet, the best alternatives for self-hosting right now are:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;gitpod-io&#x2F;openvscode-server" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gitpod-io&#x2F;openvscode-server</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;cdr&#x2F;code-server" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cdr&#x2F;code-server</a><p>Update: also check the discussion about their differences <a href="https:&#x2F;&#x2F;github.com&#x2F;cdr&#x2F;code-server&#x2F;discussions&#x2F;4267" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cdr&#x2F;code-server&#x2F;discussions&#x2F;4267</a> (IMO both are much slower and worse than vscode.dev)
评论 #28935330 未加载
评论 #28933093 未加载
评论 #28935484 未加载
评论 #28935115 未加载
lomover 3 years ago
LPT: press . on any github repository when logged in and it will open that repository in vscode.dev with everything set up<p>Similar to github codespaces without a real computer to back it up
评论 #28934565 未加载
评论 #28938008 未加载
评论 #28936351 未加载
评论 #28941199 未加载
ravenstineover 3 years ago
This is exactly what I&#x27;ve been looking for. There was another site (forget the name, something-something-cloud) that supposedly did this but it seems abandoned and didn&#x27;t work on any browser that I used.<p>An online VS Code would not only make doing quick things with GitHub repos much easier but can be great for people just getting into learning programming because it doesn&#x27;t require installing anything, but you are essentially starting out with a professional tool.<p>That and every once in a while I&#x27;m not on my own computer thus it would be pretty nice to kill time coding with a VS Code instance that doesn&#x27;t need installation.
评论 #28934692 未加载
评论 #28933308 未加载
MR4Dover 3 years ago
I find a couple things pretty neat here:<p>1 - All of the screenshots are from a Mac. This never would have happened with the old MSFT.<p>2 - The performance of this is pretty good. Admittedly, I just played with this for a couple minutes, but even opening a folder with a bunch of files was snappy.
评论 #28934376 未加载
评论 #28932957 未加载
minimaxirover 3 years ago
For those who think web-based IDEs are inefficient, I recommend giving VS Code in the browser a try: nowadays it&#x27;s just as performant as it is on the desktop.<p>Even on the iPad it&#x27;s just as performant (with 120Hz scrolling!), although as noted in the announcement, the file system limitations make it a bit of a pain to work with for ad hoc coding.
评论 #28933126 未加载
评论 #28940358 未加载
评论 #28933310 未加载
评论 #28938992 未加载
评论 #28933298 未加载
评论 #28938457 未加载
qbasic_foreverover 3 years ago
Interesting they&#x27;re using tree-sitter for syntax highlighting. Obviously they can&#x27;t run LSPs in the browser so this must have been an alternative. I&#x27;d be curious to see this get into mainline desktop VS Code though (and I&#x27;m not alone: <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode&#x2F;issues&#x2F;50140" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode&#x2F;issues&#x2F;50140</a>).
评论 #28934990 未加载
评论 #28937337 未加载
评论 #28937026 未加载
rpdillonover 3 years ago
I&#x27;m intrigued by the use of webapps in this way, but I really think we need a better solution for rebinding keys in the browser. I tend to use Emacs bindings (which practically every editor supports), but they are a bit of a mess in browsers because even extensions can&#x27;t clobber bindings like C-n, and I recall having issues with C-w and C-p as well. Otherwise, very exciting to have high-quality, zero-install tooling like this!
评论 #28938710 未加载
jt2190over 3 years ago
It’ll be interesting to see how this evolves compared with other players in this space. (Stackblitz comes to mind. They added support for “WebContainers” recently, for in-browser hosting of server-side code: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27223012" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27223012</a>)
BiteCode_devover 3 years ago
It&#x27;s not only an awesome technical achievement, but it has also so much potential to be useful.<p>And yet, something at the back on my head is screaming:<p>WARNING!<p>I have the intuition that, on the long run, using more and more tools that are not on your own machine will create a dependency on systems big companies control. And something tells me we are going to pay for it in the end.<p>So I&#x27;ll stay away.<p>Maybe I&#x27;m getting paranoid, but I don&#x27;t regret not having ever created a Facebook account, or not getting on the 2010 hype train of magical SAAS services like Firebase that lock you in eventually.<p>We&#x27;ll see in 10 years I guess.
评论 #28936453 未加载
评论 #28937015 未加载
评论 #28934314 未加载
评论 #28935208 未加载
评论 #28934275 未加载
humantorsoover 3 years ago
If you want to run you own version of this - try this <a href="https:&#x2F;&#x2F;hub.docker.com&#x2F;r&#x2F;linuxserver&#x2F;code-server" rel="nofollow">https:&#x2F;&#x2F;hub.docker.com&#x2F;r&#x2F;linuxserver&#x2F;code-server</a>, its very easy to configure. linuxserver has created code-server - which is vscode running in container. I have been running it in my personal network for nearly a year now. It great because it lets you code from any device. Sometimes I use this to quickly script out things on my ipad and then execute whatever script I have created using Terminus.
评论 #28935197 未加载
artisanspamover 3 years ago
I was hoping this would be the thing that makes coding on an iPad not awful. But any keyboard shortcuts are consumed by Safari, so it&#x27;s a pain to use. However, I hope that this enables the VS Code team to make a native iOS&#x2F;Android VS Code app that would essentially just be a web browser that uses this functionality.
评论 #28935897 未加载
评论 #28934300 未加载
mseepgoodover 3 years ago
What&#x27;s the feature that allows a website to open local files and folders?<p>Edit: I think I found it: File System Access API, supported by Chrome and Edge, not supported by Safari and Firefox
评论 #28936015 未加载
joshuarubinover 3 years ago
While I know it&#x27;s not the fault of the vscode team, it sucks that Firefox feels like a second class citizen since it doesn&#x27;t support the File System Access API.
评论 #28934373 未加载
评论 #28935796 未加载
tiffanyhover 3 years ago
For any Googlers, how does vscode.dev (or Codespaces) compare to your internal web based editors and code pipeline tools?
thurnover 3 years ago
I&#x27;ve love to see this for open source, especially integrated into GitHub. A simple &quot;click here to contribute&quot; button could really lower the barrier to entry for first-timers.
评论 #28933307 未加载
评论 #28933394 未加载
评论 #29038024 未加载
tracnarover 3 years ago
It seems to be like Theia <a href="https:&#x2F;&#x2F;theia-ide.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;theia-ide.org&#x2F;</a> which is based on vscode and runs in the browser. It&#x27;s used by this project to give a full lab&#x2F;workspace and ide in the cloud:<a href="https:&#x2F;&#x2F;www.eclipse.org&#x2F;che&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.eclipse.org&#x2F;che&#x2F;</a> (it&#x27;s actually closer to vscode even though eclipse is in the name).
评论 #28933287 未加载
评论 #28940371 未加载
dudusover 3 years ago
&gt; quickly parked it (...) (or, if you are from the Boston area like me, we &quot;pahked it&quot;<p>What a strange joke to include on Developer docs.
评论 #28933067 未加载
评论 #28937016 未加载
评论 #28933096 未加载
benatkinover 3 years ago
Part of the Visual Studio Code brand is that it&#x27;s open source. With this snarky announcement, they&#x27;ve changed that. I&#x27;ve been using <a href="https:&#x2F;&#x2F;vscodium.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;vscodium.com&#x2F;</a> and who knows when there will be a web version. :(
评论 #28934734 未加载
webwanderingsover 3 years ago
Two features missing right away: Terminal and Remote SSH.
评论 #28940265 未加载
评论 #28935194 未加载
评论 #28936503 未加载
评论 #28941804 未加载
评论 #28938303 未加载
OliverGilanover 3 years ago
I wonder if this uses pretty much the exact same code as the desktop version. It seems to me that one of the big benefits of using Electron would be to have one codebase deployable as a desktop app and a website with very little change for each deployment.
评论 #28933421 未加载
评论 #28933053 未加载
beebeepkaover 3 years ago
&gt; we &quot;pahked it&quot;<p>It took almost 30 years to finally get comfortable with the way native, mostly British, speakers pronounce R. It still doesn&#x27;t feel right but I no longer fight.<p>I can still picture myself yelling my hard Rs at Google translate and it consistently failing to understand me.<p>Somewhat more on topic: I just realized I&#x27;ve been using nothing but Viscose for 2 years now. Still not as good as WebStorm but it&#x27;s getting there. It wasn&#x27;t nearly as good back in 2017.<p>Not sure I want it to be just a tab in my browser thought. Very cool nonetheless. We&#x27;ve come a long way
divbzeroover 3 years ago
&gt; <i>Develop on your iPad. You can upload&#x2F;download files (and even store them in the cloud using the Files app), as well as open repositories remotely with the built-in GitHub Repositories extension.</i><p>With web apps, I’m always curious how well they support offline use. In this case, <a href="https:&#x2F;&#x2F;vscode.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;vscode.dev&#x2F;</a> appears to do pretty well. You can “Add to Home Screen” on iPad and get the app working fullscreen with WiFi off.
brundolfover 3 years ago
File system access being one of the main reasons to put a web app in Electron, this could be a move toward the more lightweight future that some on HN have been clamoring for
me_im_countingover 3 years ago
I wonder if there will be better remote development support on vscode.dev? It used to work well for me, but in recent releases the remote functionality has gotten so flaky...
paxysover 3 years ago
It&#x27;s crazy how much the dev tooling space has evolved in just the last few years. VS Code is of course a big part of it, but there are a hundred offshoots providing CI&#x2F;CD, dev VPS, source control integrations, language tools, static hosting, staging, functions. The next step, IMO, is more clarity. How do all these puzzle pieces fit together, and what is the &quot;ideal&quot; solution for me as an individual developer or a small team to use day-to-day?
评论 #28934849 未加载
DeathArrowover 3 years ago
Ok, you can use VS Code like an editor in a browser. But how are you going to compile &#x2F; run the code if you can&#x27;t install binaries on that machine?
评论 #28935076 未加载
评论 #28934765 未加载
评论 #28937158 未加载
paxysover 3 years ago
Something worth noting – unlike offerings like Github Codespaces, code-server and others this one is running fully in your browser (no backing VM). This is both good (faster to start and run, no server roundtrips needed) and bad (can&#x27;t install custom language toolchains or run build scripts, can&#x27;t pause and restart on different machines). vscode.dev is specifically not a &quot;cloud IDE&quot;.
tehlikeover 3 years ago
Next up will be using webusb or an extension to do mobile development on browser, and streaming (or straight up running the emulator through wasm).
LatencyKillsover 3 years ago
I was an engineer on the Visual Studio team at Microsoft from 2002-2009. If you had told me it would eventually run in a web browser I would have thought your were crazy. Back then we had to work closely with the core Windows team (memory optimizations, etc.) just so that it could run natively on a semi-beefy PC. I&#x27;m pumped that the team has been able to pull this off!
riquitoover 3 years ago
What api is it using to let you create a file in a local directory? I know about <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;FileSystem" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;FileSystem</a> but that&#x27;s for virtualized filesystems
评论 #28933370 未加载
评论 #28933334 未加载
评论 #28933340 未加载
评论 #28933322 未加载
tiffanyhover 3 years ago
&gt;&quot;Fast forward to today. Now when you go to <a href="https:&#x2F;&#x2F;vscode.dev" rel="nofollow">https:&#x2F;&#x2F;vscode.dev</a>, you&#x27;ll be presented with a <i>lightweight version</i> of VS Code running fully in the browser.&quot;<p>Does that imply there is functionality <i>missing</i> from the online version of VS Code?
评论 #28933311 未加载
评论 #28933292 未加载
评论 #28933333 未加载
k__over 3 years ago
If file access is supported by all browsers, this accompanied with WASM could lead to a new era for web apps.
phil294over 3 years ago
It would be great if we could also run VSCode in terminal. It should theoretically totally be possible, but for some reason, there is still no good text-only browser supporting JavaScript.<p>Edit: Just tried brow.sh - only displays a white page. Might be a solution though
peakabooover 3 years ago
I don&#x27;t think this will be a success.<p>If I get to choose between this and my own local installation, of course i will run the local version.<p>Why would I want to sit in the browser? To continue on the same cursor position I was if I switch computer? Not worth it at all.
评论 #28935758 未加载
wiradikusumaover 3 years ago
FYI: You can&#x27;t run&#x2F;compile your code (yet), and by extension it means it won&#x27;t show any error&#x2F;warning (I tried deleting some lines). I&#x27;m guessing the next step is cloud build.
评论 #28933862 未加载
shelbyKiraMover 3 years ago
I&#x27;m already trying to edit PNGs but in Firefox no file system access API yet, so I tried uploading an image to edit in Luna Paint but it only loads an empty image?
评论 #28944660 未加载
sisjohnover 3 years ago
One thing that I love about VSCode is the flexibility that it offers. Also, my favorite theme, Synthwave, really makes your editor looks amazing.
honestduaneover 3 years ago
When will the code be available? Its MIT, so it should be on github, but it&#x27;s not.
alexnewmanover 3 years ago
I&#x27;ve been using codespaces for a while. now my copilot doeasn&#x27;t work there.
staredover 3 years ago
A modern browser environment is an OS on its own. Change my view.
评论 #28940444 未加载
评论 #28934841 未加载
评论 #28934786 未加载
评论 #28934458 未加载
maximilianroosover 3 years ago
Electron in the browser! :head-explodes:<p>(jk, this is awesome, great job)
hackeratrandomover 3 years ago
I like using the web to create the web … &amp; yes, always keeping an eye towards us continuing to make it the “we”b ;-)
yooogleover 3 years ago
Nice, but saving is a bit odd.
jcmontxover 3 years ago
I love it! Great job MSFT.
ramonover 3 years ago
Dream come true! Congrats!