Live data from Hacker News

Vscode.dev

code.visualstudio.com

191–200 of 273 posts

Re: Vscode.dev

#191

Interesting they're using tree-sitter for syntax highlighting. Obviously they can't run LSPs in the browser so this must have been an alternative. I'd be curious to see this get into mainline desktop VS Code though (and I'm not alone: https://github.com/microsoft/vscode/issues/50140 ).

They don't use tree-sitter for syntax highlighting unless the extension you're using uses it. By default (and almost everything uses the default) VSCode uses the Textmate syntax highlighting system.

And there's no reason they can't use the LSP in the browser as long as the actual language servers can run in the browser - pretty easy with most languages these days.

Re: Vscode.dev

#192
post #23

It seems to be like Theia https://theia-ide.org/ which is based on vscode and runs in the browser. It's used by this project to give a full lab/workspace and ide in the cloud: https://www.eclipse.org/che/ (it's actually closer to vscode even though eclipse is in the name).

No theia has a nodejs server backing its web experience. This vscode.dev is an entirely client side JS application that runs in your browser--there's no backend server beyond something to serve a pile of static JS and html.

Ah yes that's cool, they mention even the Python extension can run client-side.

Re: Vscode.dev

#193
post #117

Earlier quoted context omitted.

>Well, offline VSCode is a glorified browser as well. Not really, it may use electron for the front end, but a huge amount of what makes vscode useful and fast is the native binaries that power all of its functionality.

What are those native binaries? I know that VSCode ships with ripgrep, but that's the limit of my knowledge. Those binaries probably could be compiled to WASM to make VSCode fully run in a browser too.

The Language Servers that power all of the intellisense and syntax highlighting and stuff are all native code. As are the compilers and everything that make VSCode more than just a text editor.

Re: Vscode.dev

#194
post #147
post #5

Very cool stuff. 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 thi…

On every HN thread I count the minutes until it turns into a personal rant against some big company, and it never disappoints.

Have you considered bird watching or needlepoint?

Re: Vscode.dev

#195
post #147

Earlier quoted context omitted.

On every HN thread I count the minutes until it turns into a personal rant against some big company, and it never disappoints.

And while those stories are interesting to hear, I don’t know why they so often make it to the top or near it. Like is one PM being bad at listening to user feedback really the most interesting topic of discussion for this post?

Well .. yes actually. VS in the browser is not that amazing - we already got it on https://github.dev a month ago

Re: Vscode.dev

#196
post #180
post #5

Very cool stuff. 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 thi…

Just a side note... as a CS nerd and a software engineer with 15+ years of professional experience, environment setup is still one of the hardest parts for me, especially if I'm picking up a new tech stack.

It's tedious because you'll always run into an error even if following documentation. Automated dev environment setup ftw

Re: Vscode.dev

#197
I'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?

Re: Vscode.dev

#198
post #5

Very cool stuff. 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 thi…

I'm really sorry to hear you had this experience :( I'm not sure who you spoke with, but this perspective definitely isn't representative of the team and/or how I'd ever want to see us talk with developers. I'm actually a PM for both Live Share, Codespaces, and some of our education-related experiences (e.g. the GitHub Classroom extension for VS Code). A web client for collaboration, with zero-install/onboarding, has…

Hey! I'm curious how vscode.dev fits in with GitHub Codespaces. Are they competing products, or is Codespaces only a superset of the other?

Re: Vscode.dev

#199
post #5

Very cool stuff. 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 thi…

> "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."

Advice I received early that has stuck with me (and that I have found to be true): "Environment setup is the hardest part".

This was true for me in school and has remained true through multiple professional teams.

Re: Vscode.dev

#200
post #21

Earlier quoted context omitted.

> For those who think web-based IDEs are inefficient, I recommend giving VS Code in the browser a try: nowadays it's just as performant as it is on the desktop. This doesn't read to me as the acclaim that you think it is. What I'm hearing is that the desktop application is as slow as a web IDE. No doubt the people at VSCode have put every effort into making the application run well on desktop, but that's not to say t…

> the desktop application is as slow as a web IDE. Have you ever used VSCode on the desktop? I have never experienced any issue with VSCode nor have I ever wished it performed better.

It’s not an especially fair case, but I was surprised at how poorly VSCode ran on a Raspberry Pi 3 when I tried it awhile back. Running it with a remote connection to a beefier machine would make for an amazing thin client.
Post reply on HN