News for hackers. Stuff that matters.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by terminal_d on Wednesday December 21, 2022 @06:42AM (#34079371)
Anyone think there'll be another editor that'll surpass VSCode, similar to how VSCode surpassed Atom (and others)? I used to think that there would be one, but now I'm not so sure.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by sph on Wednesday December 21, 2022 @07:38AM (#34079904)
What will get bigger than VSCode is the wrong question to ask. Eventually it'll be unmaintained and people will have moved onto something else. The only constants in the editor mindshare circus are Emacs and vim, and even those will fade away, one day, much later than VSCode.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by bauerd on Wednesday December 21, 2022 @09:28AM (#34081126)
This is just begging the question why VS code would become unmaintained
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by maegul on Wednesday December 21, 2022 @06:55AM (#34079478)
No, I think they’ve won this cycle in the same way that Windows and Google did theirs. The only issue for them is that it’s still text editing under the hood, which is a fundamental enough of a tool that there’ll always be alternatives scratching away at their supremacy (unlike an operating system for instance). So copilot and good LSP servers are probably big factors in their dominance.

Still seems like a market shift would be required to take them down, like an AI revolution, but then MS seem to be on top of that so far. Perhaps if CI/CD is reinvented in a wonderful way with mass adoption, integrated code editing and manipulation could reshape the text editor.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by rjzzleep on Wednesday December 21, 2022 @07:03AM (#34079550)
lsp actually came out of the .net opensource community. omnisharp to be exact. It's funny how much is actually attributed to MS in this case, when most of VSCode did not originate there.

There's no reason at all why VSCode has "won" the same way Windows and Google did. VSCode fixed two main issues of Atom. If anything it was a natural evolution. The name was just a smart marketing play. There are some things that are exclusive VSCode but most of the important pieces are not.

I think the main reason there is no direct VSCode competitor is because there is currently no need to. People that use their own respective flavours of editors have almost the same features in their own respective features, so what's the point in mirroring it?

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by maegul on Wednesday December 21, 2022 @07:21AM (#34079715)
Fair. Like I said, it’s a text editor and only does things so much “better” than their competitors who are likely to retain their user bases to some extent. We seem to generally agree on this.

But the ecosystem effects of GitHub integration and getting into the browser as is the case with the top parent post and being the home for LSP servers seem to me like enough of an “embrace” to secure a “win” however lesser it is than Google’s. I’m not a user though, just my view from the outside.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by nicce on Wednesday December 21, 2022 @06:52AM (#34079451)
JetBrain's Fleet looks very promising. Does many things better out of the box than VSCode with gazillion of extensions. Too bad that popular keybindings are not supported properly yet.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by aniforprez on Thursday December 22, 2022 @01:04AM (#34090327)
As of writing this comment, Fleet doesn't even have an option to render leading whitespace characters. Fleet does almost nothing better out of the box right now. It's incredibly slow to load projects, slower than VSCode to start (tested on an M1 mac), has a fraction of a fraction of the settings and features and no extension support. There's a LONG way to go
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by ericcholis on Wednesday December 21, 2022 @06:54AM (#34079470)
I think that the market share of "new" IDEs is pretty well established between VSCode, Sublime and the various Jetbrains offerings.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by minusf on Wednesday December 21, 2022 @07:37AM (#34079897)
is sublime an IDE? i guess i could call my neovim python setup an IDE, but i don't.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by BaculumMeumEst on Wednesday December 21, 2022 @07:50AM (#34080041)
I think it makes to count any editor with an LSP client as an “IDE” and call a day rather than engage in endless, meaningless debates on subjective terminology
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by josephd79 on Wednesday December 21, 2022 @07:53AM (#34080070)
what's the difference between vscode/sublime and an IDE? Honest question, not being sarcastic.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by aniforprez on Wednesday December 21, 2022 @06:50AM (#34079435)
There's many editors in this space that are trying to do similar things but built in Rust, Go and such. They're all nascent projects and all extremely immature to the point that I installed them all and immediately removed them but they show promise. There's Lapce, Zed, Fleet and Nova which are all native apps without Electron but having tried them all out, they're lacking in one way or another
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by maegul on Wednesday December 21, 2022 @06:59AM (#34079523)
Seeing recently Onivim 2 die and Brackets too (I don’t know much about that project, but it was Adobe backed FWIW) reminds me that these things can come and go. Getting people to become users and getting plug-in authors to invest their time seems like a nightmare. It’s surely no coincidence that VS Code was backed by a mega corp.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by Shorel on Wednesday December 21, 2022 @07:13AM (#34079644)
It depends on who you ask.

Personally, I still prefer Sublime Text to VSCode.

Now, the problem is ST is proprietary, but then VSCode is starting to be proprietary as well.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by silverwind on Wednesday December 21, 2022 @10:32AM (#34081967)
Sublime Text is still considerable faster than VSCode, and also has LSP via plugins, but its development again has grinded to a halt, which seems to be something that happens periodically when the team decides to focus on other products.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by numbsafari on Wednesday December 21, 2022 @06:59AM (#34079522)
Eventually someone will develop an IDE with a proper sandbox for plugins and extensions, rather than the free-for-all that is VSCode.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by morelisp on Wednesday December 21, 2022 @06:59AM (#34079524)
I see your profile says you’re in your early 20s, so I kind of understand the question but also I’ll be blunt: yes, there will be another text editor. 90% of the tools you use today will be gone by the end of your career.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by brabel on Wednesday December 21, 2022 @07:13AM (#34079640)
Exactly what I thought reading that comment... but there will still be some older people sticking to it for perhaps a decade or two... just like we have people today still using emacs (guilty) and Vim. Not sure if VS Code will last nearly as long as those, it's really hard to stay around for 40+ years (anyone here using ed, Eclipse, Sublime, Netbeans??? I am sure there are a few, but the number is dropping fast).
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by azalemeth on Wednesday December 21, 2022 @08:44AM (#34080612)
And the remainder will be called things like vim, emacs, awk, and sed ;-)
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by yjftsjthsd-h on Wednesday December 21, 2022 @12:00PM (#34083224)
I forgot the name of the principal, but there's a rule of thumb that a thing's future life expectancy is related to how long they've already been around. So in general if some new text editor emerges, I give it a reasonable chance of being dead in 6 months. VSC is old enough to probably be around for a while now. And I fully expect emacs and vi/m to outlive me:)
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by rileyphone on Wednesday December 21, 2022 @04:36PM (#34086708)
Lindy effect.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by morelisp on Wednesday December 21, 2022 @12:06PM (#34083312)
Even awk is slowly but surely on the way out at this point... sed probably has another strong decade though.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by matkoniecz on Wednesday December 21, 2022 @07:02AM (#34079548)
Why there would not be?
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by levesque on Wednesday December 21, 2022 @08:32AM (#34080477)
To me VSCode is not comparable to Pycharm for Python programming & debugging. Pycharm just works better and has much better code completion.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by CrimpCity on Wednesday December 21, 2022 @09:06AM (#34080881)
pycharm is also MUCH smarter figuring out import paths.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by screamingninja on Wednesday December 21, 2022 @08:41AM (#34080583)
> Anyone think there'll be another editor that'll surpass VSCode

Worthy mention- Zed is the spiritual successful of Atom that is being rewritten in Rust. Text editors gain and lose popularity often, so the potential is definitely there.

https://zed.dev/

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by FpUser on Wednesday December 21, 2022 @10:07AM (#34081601)
Rust - I would not give rat's ass about what language was used to write an IDE as long as it performs adequately. VS Code definitely does it. I for example can comfortable edit, compile and debug my code written in C++ and other languages locally and on remote servers with fast turnaround. VS code is the closest thing ever to come to a full blown modern IDE. Replicating this complete functionality and plugin ecosystem will not be easy. I would not even bother looking at things like Zed unless it can do the same things.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by bitwize on Wednesday December 21, 2022 @10:26AM (#34081873)
Rust is pretty much the most important programming language in the world right now. Using it to eliminate entire classes of bugs is a huge win for developers everywhere.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by FpUser on Wednesday December 21, 2022 @10:34AM (#34081994)
As already said I do not care. I would not trade shitty app written in "proper" language over one that is not but does the actual useful work for me.

>"...eliminate entire classes of bugs..."

With modern C++, static analyzers and address sanitizers this aspect of Rust does not matter that much for me personally. As a language Rust looks way more restricted to me than a modern C++ and dancing around borrow checker is far from fun. Unless explicitly required by contract I do not see it as a business case with positive ROI for me. I run my own company and I actually pay for development.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by 12345hn6789 on Wednesday December 21, 2022 @10:57AM (#34082333)
This is a pretty enormous statement. Programming languages are tools and not every tool suits every job. Rust is certainly a "good" language but it will not change the world. In 10 years perhaps we can resume this conversation with some actual substance.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by AYBABTME on Wednesday December 21, 2022 @02:22PM (#34085167)
Go changed the world in that it made the rapid development of things like Docker, Kubernetes, possible, along a multitude of other "cloud first" services. This in turn made possible things that were much harder to do before. A single trivial example being the massive NN training pipelines by self-driving companies.

All this could have been done another way, using another language, but not at the same speed as what was enabled by the ergonomy of Go, and not with the same enthusiasm. Arguably, the boiling mix phenomenon made a multitude of things happen and possible, by making them easier to do, thus crossing a required minimum threshold where enough people have the time, desire and ability to achieve something.

Rust will do the same.

It's like catalysts in chemistry. They are not the reagents, but they often make the reaction statistically possible in the first place.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by yjftsjthsd-h on Wednesday December 21, 2022 @11:48AM (#34083049)
It was rather my impression that the classes of bugs that rust fixes are entirely in memory management, which is to say that they never existed in managed languages in the first place. That makes it a big step forward for bare metal and performance critical code, but kind of unimportant anywhere where ex. Java, Python, or JavaScript are used.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by bitwize on Thursday December 22, 2022 @07:54PM (#34101053)
The fact that Rust lets you use managed programming patterns completely safely, with zero runtime overhead compared to C or C++, makes managed languages less compelling.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by andrew_ on Wednesday December 21, 2022 @10:24AM (#34081825)
This is definitely the one I'm looking at closest. There's also Lapce https://github.com/lapce/lapce which has great velocity and looks to be a pretty welcoming project.

VS Code has become the IE of old imo and it'll take an industry shift to kick it, just like IE. Microsoft is not being a good steward of open source for the project, and over time that will wear on people. Hopefully that'll irritate the right people with the right amount of money to do something about it.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by lallysingh on Wednesday December 21, 2022 @09:22AM (#34081061)
With language servers, I think the big IDEs will be less relevant. It'll be easier for anyone to write a text editor with language server integration and make it with just the way they like.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by dmitriid on Wednesday December 21, 2022 @11:00AM (#34082383)
You're forgetting the actual heavy lifting that proper IDEs do, and that VS Code leaves to language implementors. Unless you know how to do proper code analysis, you won't be able to make it "just the way you like".

Even writing a proper IDE-aware compiler is a quite a daunting task.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by StevePerkins on Wednesday December 21, 2022 @09:27AM (#34081112)
At the end of the day, VS Code is a shitty Electron app. It's one of the most highly optimized and performant Electron apps ever created... but it's still a shitty Electron app. Startup time on my machine is only a hair faster than Jetbrains IDE's launching a JVM, it's ridiculous.

VS Code has the market share that it has because:

1. They encouraged a huge plugin ecosystem.

2. They made it cross-platform and gave it away for free, while Sublime costs money.

3. Most importantly of all (in my cynical opinion), they went "dark mode" by default at just the right time when this was becoming a trendy new feature among devs.

There are plenty of text editors that are far better than VS Code, but they either cost money or are for a single platform only. If someone came out with a free, cross-platform, attractive text editor that was a native executable and got critical mass going with a plugin ecosystem, then VS Code would fall out of fashion within a year. There's no genuine groundswell of support for Microsoft as a trendy entity with brand loyalty among young devs.

The recent boomer adage "No one wants to work anymore" simply has its sad technical analogue, "No one wants to create desktop apps anymore".

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by goguy on Wednesday December 21, 2022 @09:54AM (#34081452)
> If someone came out with a free, cross-platform, attractive text editor that was a native executable and got critical mass going with a plugin ecosystem, then VS Code would fall out of fashion within a year.

Well yeah, there's the problem. This isn't an easy task, it has never been done before.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by StevePerkins on Wednesday December 21, 2022 @10:24AM (#34081838)
It's been done with Vim and Emacs, among others. Full desktop GUI versions, in addition to the original terminal-based form.

It just hasn't been done RECENTLY... with an editor that is visually attractive, and uses modern keyboard conventions rather than arcane keystroke DSL's that are inaccessible for the masses. But that's just a matter of project philosophy, not technical limitations with what's doable.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by shadowgovt on Wednesday December 21, 2022 @01:39PM (#34084552)
This is definitely the first time I've ever seen the adjective 'attractive' applied to either vim or emacs.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by StevePerkins on Wednesday December 21, 2022 @01:52PM (#34084734)
If by "applied to Vim and Emacs", you mean "included in a list of theoretical differences from Vim and Emacs", then sure.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by shadowgovt on Wednesday December 21, 2022 @02:01PM (#34084844)
> > > free, cross-platform, attractive text editor

> > Well yeah, there's the problem. This isn't an easy task, it has never been done before.

> It's been done with Vim and Emacs

My apologies if I misunderstood how you intended the pronouns to be applied.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by coffee_cup on Wednesday December 21, 2022 @10:07AM (#34081594)
well there's emacs, although it probably wouldn't qualify as 'attractive'
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by FpUser on Wednesday December 21, 2022 @10:25AM (#34081847)
>"At the end of the day, VS Code is a shitty Electron app. "

It provides huge practical value to me as a developer. I am not fond of JavaScript being used as front end but as long as it performs decent job for particular use case I do not care. I use development tools to develop products and make money. I do not fight holy tech wars.

>"Startup time on my machine is only a hair faster than Jetbrains IDE's launching a JVM, it's ridiculous."

I value my development time and my development computers are very decent (desktop for example is 16 core AMD with 128GB RAM). Launching VS code on my machines is nearly instant. CLion from JetBrains is much slower (10 sec from cold start to opening my C++ project in a usable state for example) but still very acceptable. I do not restart it every minute. More like once in few days when using it.

>"VS Code has the market share that it has because:"

I do not care why. I am a consumer here. It is for a people who want to beat VS Code to figure out why and do better than MS. Me - I have my own problems to worry about and I just use tools that work for me.

>"Most importantly of all (in my cynical opinion), they went "dark mode" by default at just the right time when this was becoming a trendy new feature among devs."

I do not give a flying fuck about what is trendy for a generic developer. What is important for me in VS code along with plugin ecosystem let's me develop, lint, debug my code locally and on remote servers. As long as proper ergonomics / usability guidelines are followed I do not really care whether the mode is dark or light.

>"If someone came out with a free, cross-platform, attractive text editor that was a native executable and got critical mass going with a plugin ecosystem, then VS Code would fall out of fashion within a year."

And if I had a million dollars I'd be rich. Coulda, shoulda, woulda. And VS code is way more than an editor.

>"No one wants to create desktop apps anymore".

I actually have native desktop product and it keeps bringing me some dosh for what is a very little maintenance.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by StevePerkins on Wednesday December 21, 2022 @10:33AM (#34081981)
For someone who starts by saying they don't fight tech holy wars, this sure does read like a tech holy war.

I am not insulting your personal identity by disparaging your choice in text editor. I am responding to a question of what could cause a future competitor to take the top spot away from VS Code.

My answer is that VS Code has inherent challenges from being built atop an embedded web browser, and that a similar implementation based on direct native executables may be the path through which it's successor will emerge. Carry on.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by FpUser on Wednesday December 21, 2022 @10:38AM (#34082055)
>"For someone who opens by saying that they don't fight tech holy wars, this sure does read like a tech holy war.

No. I need to take my eyes from work every once in a while and HN to me is one of the ways to do it. I just explained my opinion about a subject. If you believe that I really care about actually convincing anyone be my guest.