this post was submitted on 25 Oct 2024
50 points (91.7% liked)

Programming

17266 readers
219 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
top 24 comments
sorted by: hot top controversial new old
[–] thesmokingman 16 points 11 hours ago (3 children)

This doesn’t paper over deprecating the Rust plugin and stealing contributions. I used to be a huge JetBrains fan and now I pull this out every time. Anything but.

[–] [email protected] 4 points 5 hours ago* (last edited 5 hours ago)

Don't need to go all the way there. I always heard that jetbrains make the best editors. Yet when my job forced everyone to use CLion I saw that it was just a lie. The editors aren't good, they are just expensive.

There are 2 easy examples:

  1. Remote developing sucks. Loading a remote cmake project takes ages. Yet if you remove the temp directory it's almost instantaneous. Except when you do it too often and clion refuses to sync the files, then you're fucked because there isn't a "sync" button, it only happens automatically.

  2. The commit log is awful. It doesn't by default show you the commit/branch you've checked out, it shows the chronologically most recent commit. There's no "go to checked out commit" button either, you have to write the hash in the search field. Which btw the search is trash. If you write 6 of the characters of the hash it shows "there are no results", yet when you write the 7th, suddenly your commit appears.

[–] [email protected] 9 points 10 hours ago* (last edited 10 hours ago) (2 children)

It looks like they deprecated that one so they can sell the Rust plug-in for CLion. Granted RustRover is free for non-commercial use.

Stuff like this is why I don't mess with paid IDEs and editors.

[–] [email protected] 3 points 6 hours ago

Tbh rust-analyzer is still pretty great. What bothers me more is that Kotlin is pretty much the only language without an official language server, because it doesn't align with their business interests...

[–] DeprecatedCompatV2 2 points 8 hours ago* (last edited 8 hours ago)

And now the IntelliJ plugin isn't included in the all products pack for some reason.

Edit: It looks like it actually is included, or is supposed to be.

[–] Tramort 6 points 10 hours ago

Oh my God. That's awful.

Thanks for posting about jet brains coopting and closing the rust plug-in. Yuck!

[–] [email protected] 13 points 12 hours ago (4 children)

VSCode & VSCodium are also free for commercial use.

Why learn an IDE you won't use anywhere else?

[–] [email protected] 4 points 5 hours ago

C# Devkit will do in a pinch but it's still second class in VS Code compared to languages like TypeScript.

Since MS killed off MonoDevelop and Visual Studio is Windows only, it'll be good to finally have a free proper C# IDE again on Linux.

[–] CodeMonkey 8 points 9 hours ago

Why would you use a library or framework when you can code everything from scratch? It probably depends on how good the VSCode extension is vs how bad the IDE is.

For the languages I have tried (mostly GoLang plus a bit of Terraform/Terragrunt), VSCode plugins can do code highlighting, can highlight syntax and lint errors, can navigate to a methods implementation, the auto-complete seems to pick random words from the code base, and can find the callers for a method. It is good enough for every day use.

IDEs I have used (Eclipse for Java, PyCharm, InteliJ for Kotlin) offer more. They all have starter templates for common file types. The auto-complete is much more syntax aware and can sometimes guess what variables I intend to pass in as arguments. There is refactoring which can correctly find other usages of a variable and can make trivial code rewrites. There are generators for boilerplate methods. They all have a built in graphical debugger and a test runner.

[–] [email protected] 6 points 10 hours ago (1 children)

There's also Zed. It's still pretty new and barebones but I like it a lot more than Code or anything else.

[–] [email protected] 4 points 8 hours ago

same here, i was using RustRover before that and it was slow on my laptop, i also had to create an account to use it. Zed is pretty much plug n play

[–] [email protected] 7 points 11 hours ago* (last edited 11 hours ago) (1 children)

I am kind of using intellij ideas for everything. They are just so much better.

I don't think I would want to work for an employer that is too cheap for an IDE license

[–] [email protected] -1 points 10 hours ago (3 children)

They're really not. As much as I hate commercial licensing for any dev tools, if you want to talk about superior there's nothing quite as good as Visual Studio (not code) on Windows.

[–] brettvitaz 2 points 7 hours ago (1 children)

That’s just your opinion, and your specific use case. I do not enjoy using Visual Studio, and MS no longer makes it for the Mac (the superior developer platform (see what I did there?)). JetBrains products have their weaknesses but they are damn good.

[–] [email protected] 2 points 2 hours ago

Visual Studio for Mac was never the real Visual Studio it was a reskin of Xamarin Studio.

[–] [email protected] 3 points 9 hours ago

Sounds like a discussion about if someone likes apples or pears

[–] MajorHavoc 2 points 9 hours ago* (last edited 9 hours ago) (1 children)

I adore Visual Studio for how it set the gold standard for code editing. VsCode is growing rapidly, but Visual Studio set an incredibly high bar.

For anyone reading along, Visual Studio Community Edition was free and fantastic last time I tried it, and it does 99% of anything any individual developer cares about.

The paid professional license shines for big messy enterprise stuff, but most people looking for an editor don't need to worry about that.

All that said, disclaimer for full honesty: my tool of choice is NeoVim - often with a splash of VSCodium.

[–] [email protected] 2 points 7 hours ago

I don't actually use VS either mostly because I prefer to use a lighter editor and the commandline. But it does set a high bar for what an IDE should be.

[–] [email protected] -3 points 12 hours ago (1 children)

I am yet to meet someone who doesn't use VSCode for web development.

[–] [email protected] 9 points 11 hours ago (1 children)

I know plenty of people that use vim/neovim for web development. I am also one of them

[–] [email protected] 2 points 9 hours ago (1 children)

Woah, that's pretty cool! i installed an extension for vim keybindings inside VS Code recently, as I find them very powerful. Unfortunately, I rely on VSC's plugin ecosystem and thus can't fully switch over to neovim, but I've liked it so far for everything else I do on my system, like writing bash scripts.

[–] MajorHavoc 2 points 9 hours ago* (last edited 9 hours ago) (1 children)

If you're feeling bold, check out the NeoVim VSCode plugin. It's delightful.

It's essentially the VSCode remote plugin, but connecting to the NeoVim back-end.

It gives all the functionality of NeoVim along with all the functionality of VSCode.

Also, annecdotaly, it's substantially faster than the VSVim plugin.

[–] [email protected] 2 points 7 hours ago (1 children)

I've had issues with that one because I'm using VS Codium flatpak. I've exposed system binaries and the extension found the nvim binary, yet it kept erroring out with the message that Nvim was disconnected. VSVim is better in that regard for my case, because it is a stand-alone extension.

[–] MajorHavoc 1 points 2 hours ago* (last edited 2 hours ago)

I saw an error like that, too. (Also with the flatpak.)

I want to say I had an error in my init.vim that was the underlying cause, and the error message cleared up once I had that fixed. I also had to make sure both executables were on my path, and I had to correct where the NeoVim plugin was looking for Nvim, as well, in settings.json.