Visual Studio for Browsers: Microsoft Unveils 'VSCode for the Web' (visualstudio.com) 56
"Bringing VS Code to the browser is the realization of the original vision for the product," Microsoft said in a blog post. "It is also the start of a completely new one. An ephemeral editor that is available to anyone with a browser and an internet connection is the foundation for a future where we can truly edit anything from anywhere."
Or, as Mike Melanson describes it in his "This Week in Programming" column, "Microsoft continued its march toward developer dominance this week with the launch of Visual Studio Code for the Web, a lightweight version of the company's highly popular (mostly) open source code editor..." Now, before you go getting too excited, VS Code for the Web isn't really a fully-functional version of VS Code running in the browser, as it has no backend to back it up, which means its primary purpose is for client-side HTML, JavaScript, and CSS applications... VS Code for the Web is able to provide syntax colorization, text-based completions and other such features for popular languages such as C/C++, C#, Java, PHP, Rust, and Go, while TypeScript, JavaScript, and Python are "all powered by language services that run natively in the browser" and therefore provide a "better" experience, while those aforementioned Web languages, such as JSON, HTML, CSS, and LESS, will provide the best experience. Extensions, meanwhile — which are among the top reasons for using VS Code — generally work for user interface customizations (and can be synced with your other environments), but, again, not so much for those back-end features.
Caveats aside, VS Code for the Web does, indeed, offer a lightweight, available-anywhere code editor for things like your tablet, your Chromebook, and heck, even your XBOX...
While companies like Amazon and Google seem to be sitting idly by in this arena, Microsoft is not the only company focused on providing remote developer experiences. The Eclipse Foundation, for example, last year offered what it said was "a true open source alternative to Visual Studio Code" with Eclipse Theia, and Eclipse Foundation executive director Mike Milinkovich said he expects this to be just the beginning. "We have been saying for years that the future of developer tools is the browser. Developers already use their browsers for the vast majority of their day-to-day tasks, with code editing being amongst the last to move," Milinkovich wrote in an email. "Microsoft's recent vscode.dev announcement is a recognition of this trend. I expect that every serious cloud vendor will be following suit over the next few quarters."
GitPod, meanwhile, has been hard at work in this very same arena, with its own launch just last month of the open source OpenVSCode Server, which also lets developers run upstream Visual Studio Code in the browser.
Gitpod co-founder Johannes Landgraf calls it "yet another validation that we reached a tipping point of how and where we develop software" — but also more. "Think orchestration and provisioning of compute, operating system, language servers and all other tools you require for professional software development in the cloud."
Melanson's column also argues VS Code for the Web is meant to entice geeks further into the Microsoft development universe. "The next thing you know, you've spent $100 on other things...like GitHub Codespaces, which is, after all, pretty much the same exact thing, except it provides all those back-end services and, more importantly for Microsoft, is not free to use. And more important still, once you've got all those developers fully hooked on VS Code, Codespaces, GitHub, and the rest of it, Azure isn't too far down the line now, is it?"
Or, as Mike Melanson describes it in his "This Week in Programming" column, "Microsoft continued its march toward developer dominance this week with the launch of Visual Studio Code for the Web, a lightweight version of the company's highly popular (mostly) open source code editor..." Now, before you go getting too excited, VS Code for the Web isn't really a fully-functional version of VS Code running in the browser, as it has no backend to back it up, which means its primary purpose is for client-side HTML, JavaScript, and CSS applications... VS Code for the Web is able to provide syntax colorization, text-based completions and other such features for popular languages such as C/C++, C#, Java, PHP, Rust, and Go, while TypeScript, JavaScript, and Python are "all powered by language services that run natively in the browser" and therefore provide a "better" experience, while those aforementioned Web languages, such as JSON, HTML, CSS, and LESS, will provide the best experience. Extensions, meanwhile — which are among the top reasons for using VS Code — generally work for user interface customizations (and can be synced with your other environments), but, again, not so much for those back-end features.
Caveats aside, VS Code for the Web does, indeed, offer a lightweight, available-anywhere code editor for things like your tablet, your Chromebook, and heck, even your XBOX...
While companies like Amazon and Google seem to be sitting idly by in this arena, Microsoft is not the only company focused on providing remote developer experiences. The Eclipse Foundation, for example, last year offered what it said was "a true open source alternative to Visual Studio Code" with Eclipse Theia, and Eclipse Foundation executive director Mike Milinkovich said he expects this to be just the beginning. "We have been saying for years that the future of developer tools is the browser. Developers already use their browsers for the vast majority of their day-to-day tasks, with code editing being amongst the last to move," Milinkovich wrote in an email. "Microsoft's recent vscode.dev announcement is a recognition of this trend. I expect that every serious cloud vendor will be following suit over the next few quarters."
GitPod, meanwhile, has been hard at work in this very same arena, with its own launch just last month of the open source OpenVSCode Server, which also lets developers run upstream Visual Studio Code in the browser.
Gitpod co-founder Johannes Landgraf calls it "yet another validation that we reached a tipping point of how and where we develop software" — but also more. "Think orchestration and provisioning of compute, operating system, language servers and all other tools you require for professional software development in the cloud."
Melanson's column also argues VS Code for the Web is meant to entice geeks further into the Microsoft development universe. "The next thing you know, you've spent $100 on other things...like GitHub Codespaces, which is, after all, pretty much the same exact thing, except it provides all those back-end services and, more importantly for Microsoft, is not free to use. And more important still, once you've got all those developers fully hooked on VS Code, Codespaces, GitHub, and the rest of it, Azure isn't too far down the line now, is it?"
copied functionality poorly implemented (Score:4, Interesting)
If you're going to make an IDE for the browser, why make a copy of what already exists on the desktop? Why not take full advantage of the opportunities a browser offers?
If I'm going to use a browser as an IDE, I want it like Squeak/Smalltalk [squeak.org], where the IDE is so integrated that you can right-click any UI element and modify its code there on the spot. Innovation has gone seriously downhill since then.
Re: (Score:1, Insightful)
I'm very skeptical of cloud programming. You're basically handing Microsoft zero-day access to your internal intellectual property. Why should Microsoft be given the priviledge of snooping on EVERYBODY's code? Even if you're coding an open source app, why should Microsoft be given access to steal your ideas and put them in their own proprietary products before you ever get to a releasable state?
Re: (Score:2)
I'm very skeptical of cloud programming. You're basically handing Microsoft zero-day access to your internal intellectual property. Why should Microsoft be given the priviledge of snooping on EVERYBODY's code? Even if you're coding an open source app, why should Microsoft be given access to steal your ideas and put them in their own proprietary products before you ever get to a releasable state?
Lots of highly regulated businesses and goverments do use Azure, you understand this, right?
Re: (Score:2)
> Just because other people are doing stupid things doesn't mean I'm going to follow their example.
I just don't like being called an "anti-masker" every where I go, so I put on the mask.
Re: (Score:1)
i think a more pressing question is do you understand this?
Re: (Score:3)
I'm very skeptical of cloud programming. You're basically handing Microsoft zero-day access to your internal intellectual property. Why should Microsoft be given the priviledge of snooping on EVERYBODY's code? Even if you're coding an open source app, why should Microsoft be given access to steal your ideas and put them in their own proprietary products before you ever get to a releasable state?
Lots of highly regulated businesses and goverments do use Azure, you understand this, right?
Because Azure (and other cloud vendors) offer a FIPS certified environment, thus meeting the mandatory tickbox requirements for government work. Your desktop PC doesn't offer that. The ones that do are suboptimal in multiple ways.
Re: (Score:2)
Sure, same as Solarwinds.
Re: (Score:2)
I'm very skeptical of cloud programming. You're basically handing Microsoft zero-day access to your internal intellectual property. Why should Microsoft be given the priviledge of snooping on EVERYBODY's code? Even if you're coding an open source app, why should Microsoft be given access to steal your ideas and put them in their own proprietary products before you ever get to a releasable state?
Microsoft used to be anti-competitive jerks, but they're not really known for pasting other people's code.
They're more well known for writing their own version, years late, and botching it.
Re: (Score:2, Troll)
Let me get out my guitar and sing you the story of Stacker
Re: (Score:2)
Put your guitar away, your character sheets says clown, not bard. In any case, Stac Software sued Microsoft for patent infringement, not anything about code.
And it was Microsoft that won the counter-suit about stolen trade secrets, which is closer to the issue here.
Look up how many programmers Microsoft hires. If they want code, they just write it. Look at all their bugs! They're allergic to stealing code. They're not pathologically honest, they're pathologically arrogant.
Re: (Score:2)
Anybody heard of a company called Digital Research? Lotus? Quarterdeck Office Systems? Borland? Aldus? Corel? Caldera? Netscape? Sun Microsystems? Progressive Networks? 3com? SGI? Novell?
Yeah, me neither... Oh, and Epstein killed himself. So did McAfee. So too Murdock.
She killed herself by contracting Alzheimer's disease? That's pretty cunning. https://en.wikipedia.org/wiki/... [wikipedia.org]
Re: (Score:2)
Ahh. I googled murdocks and failed to find a likely candidate.
Re: (Score:2)
Re: (Score:3)
Re: (Score:2)
Re: (Score:2)
I used VS Code and really liked it until it started poping up safe mode warnings when I would open certain files. Maybe SPICE models with the suffix .lib, can't remember. I don't want a text editor that pops up undesired warnings in my face every time I open something.
I tried switching to Atom, but it has this pane on the left for project trees or something that always comes up on start, and there is no option to turn that off! I have to click it closed to get my screen real estate for editing text back.
Not
Re: (Score:1)
"security.workspace.trust.banner": "never"
Spoiler alert: it's you.
Re: (Score:2)
Re: (Score:1)
I have no problem with Electron and think the hate is overrated. Yeah, it's silly that VSCode uses 256M of RAM with one file open
Are you sure you used the correct unit? Slack OOMed for me once on a 128GB machine; Teams uses 13.5GB just to display the login window before even its UI is up.
Electron apparently wastes far less memory on Windows (a 16GB laptop never had a hiccup when running them both plus Lookout and the like), but that's not about the quality of the underlying OS, just about bozos from Google having far more users on Windows so they QA their crap more.
But then, any real software I run lives multiple ssh links away, so
Re: (Score:2)
Your comment is a prime example of someone spouting verbal diarrhea about something they've clearly never used or bothered to even learn anything about. Why even bother posting as if you have a critique when you don't even know what it is you're critiquing?
You've clearly never used Squeak.
Re: (Score:2)
you can right-click any UI element and modify its code there on the spot.
What does that action mean in the context of writing software for embedded systems, an AI app, or a web search engine? You do realize that not everyone works in Javascript and HTML, right? Right?
Re: (Score:2)
Who writing embedded systems uses VSCode in the web?
Re: (Score:2)
Re: (Score:2)
Programmers can use tools for whatever application they want.
That's why I use ed. And sometimes I use od for examining data.
Re: (Score:2)
Yeah, but Smalltalk comes from an era where people spent more time thinking about what they would do than doing it. Smalltalk is a well designed system, while browsers are something that just happened, something that was driven by very unhealthy interests. For example Smalltalk had no interest in deliberately making everything more complex while browser vendors constantly have that motivation as it can keep away new competitors.
Welcome to the Future (Score:5, Funny)
We have been saying for years that the future of developer tools is the browser.
Welcome to the future you never wanted.
Re: (Score:1)
I'm calling bullshit on their statement, along with "Bringing VS Code to the browser is the realization of the original vision for the product". Anyone got a link to an archived page from 2015 that says anything about the "original vision" apart from being a cross platform IDE (because it's an Electron app)?
Re: (Score:2)
Electron always seemed like a giant kludge to me, i.e. why would I download a complete Chromium for every app I wanted to use when I already had a web runtime named Firefox?
But we're in 2021 when Chromium is the system runtime across Windows 11, Android and Chrome OS and any 'native' stuff can now be transpiled to webassembly.
Cynicism noted but who's not to say the "original vision" wasn't to ditch with the download? Wasm's predecessor, Google Native Client, existed from before that time.
Re: (Score:2)
Features implemented by Chromium and not Firefox (Score:2)
why would I download a complete Chromium for every app I wanted to use when I already had a web runtime named Firefox?
One reason is that the applications you want to use use web-to-desktop platform integration APIs that are present either in Chromium or in the native components included with the customized copy of Chromium and absent in Firefox. For example, Discord.exe has system-wide push-to-talk and (optional) inclusion of statistics from the game you're playing, whereas Discord in Firefox lacks those features because of web application sandboxing. I also seem to remember it taking years for Discord in Firefox to start [github.com]
Welcome back to ActiveX (Score:4, Funny)
Not everything belongs in the browser (Score:2)
Re: (Score:2)
A site like https://www.shadertoy.com [shadertoy.com] could make good use of an IDE with its own custom config I think.
Re: Not everything belongs in the browser (Score:2)
Don't care about it on the browser... (Score:1)
Re: (Score:2)
VS Code doesn't support elinks. So... good bye!
Self-validation (Score:2)
Gitpod co-founder Johannes Landgraf calls it "yet another validation that we reached a tipping point of how and where we develop software"
It seems like self-validation, "see, told you this is the way it should go, and by us going there it's proof that we were right". I know gitpod is a bit separate, but it's still a whole set of vendors with ulterior motives trying to make people feel weird if they aren't doing things exactly the way it plays into their business plans, using vendor-side moves to indicate proof that the community is all on board with this.
There's been an unfortunate trend as if the industry as a whole is trying to 'fix the mi
Back to the mainframe era (Score:2)
So, instead of mainframes, we have the "cloud". And instead of VT100 terminals... we have fully fledged desktop machines.. running a web browser.
I can get the appeal to have kids on board with their chromebooks or ipads, and learn simple coding. Ideas like scratch, minecraft, and other pictoral things work great.
But for actual development? If you cannot afford a workstation running visual studio, or eclipse, or IntelliJ, or even VIM for that matter, you probably cannot afford to hire a programmer either.
Mov
Re: (Score:2)
Broadly speaking, the cloud application paradigm is in many ways worse than the big iron+dumb terminal days. Then, from a technical perspective, it was at least still all in the hands of the site that owned it, with the terminals a practical compromise to share computing power that was impractical to provide to each user.
Then personal computers largely obsoleted the model, as by the mid 90s it was quite cost effective to have everyone have all the power they needed locally, with file storage being the main
Re: (Score:2)
There may be a subset of that in the market, but I know of several companies whose executive strategy is explicitly to refuse to allow any new products to run on customer premise, only offering subscription based access to their software wherever they host it. Further, to the extent that 'legacy' software products exist, explicitly make it more obnoxious to use those on-premise to shift those customers to vendor-hosted.
Between good internet and marketing dominating the tech media and social network convers
Why? (Score:2)
"Lightweight" (Score:2)
Emphasis mine. Calling doubt on this. On my Mac, a default installation of VS Code used 1GB of disk space and hundreds of MB of RAM. Lightweight it is not, and its sheer bulk is why I went with Sublime Text instead.
Also, VS Code already runs on a browser, as it uses the blight on mankind that is the Electron framework. This doesn't seem particularly impressive to me, but maybe I'm missing something.
Re: (Score:3)
Well *someone* had to take on the mantle of overweight text editing after hardware outgrew emacs ability to be wasteful.
Re: (Score:2)
I know the reasons people write applications on Electron (portability, using web technologies which many people are already familiar
Re: (Score:2)
I'd still choose IDEs developed with natively-compiled languages if I could
If you're looking for something "developed with natively-compiled languages" that's available for all three of Windows, macOS, and desktop Linux, that might be a bit harder to find. One task for which developers use Electron is covering up the differences among Win32, Cocoa, and FreeDesktop environments.
VS Code PWA (Score:1)