113
submitted 3 weeks ago* (last edited 3 weeks ago) by greywolf0x1@lemmy.ml to c/programming@programming.dev
all 35 comments
sorted by: hot top controversial new old
[-] thesmokingman@programming.dev 31 points 3 weeks ago

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.

[-] Tramort@programming.dev 8 points 3 weeks ago

Oh my God. That's awful.

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

[-] calcopiritus@lemmy.world 7 points 3 weeks ago* (last edited 3 weeks 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.

[-] lysdexic@programming.dev 4 points 3 weeks ago

Your comment feels half-baked at best. You start to talk about "best editors" but you proceed to present your two best examples and neither has anything remotely related to editors.

CLion is undoubtedly the absolute best IDE for C++ projects, and it's multiplatform on top of it. It's not even a competition, specially if you're using CMake. Using Git integration as your best and single example to refute this is extremely puzzling by how silly it is.

[-] calcopiritus@lemmy.world 1 points 3 weeks ago

Editor/IDE, whatever. People claim both about jetbrains.

If you want a purely editor-thing:

Whatever vscode does with Ctrl+D (I don't know the name). Ctrl+D is probably the hotkey I use most in vscode (probably more than Ctrl+S), yet CLion doesn't have that. I've searched multiple times the whole settings for it.

Those two examples are just the ones that most recently occurred to me, it has a lot more issues. For example the lack of a staging area. You can't "git stage" in CLion.

And I don't think that the git integration is free from criticism. Git integration is one of the most important features of IDEs. It's absolutely valid to criticize it.

The autoformatter also doesn't work correctly when developing in remote. Which means that unless I want my PRs to have thousands of lines of whitespace changes, I can't use the auto formatter.

Now I don't know if this is a CMake issue or CLion. But at one point It was "#include"ing a struct from a header file I had deleted 1 hour previous to the build failing. The only way to fix that was to create the file again and delete it again.

These complaints might seem small. But put together they are hours of wasted time that you don't expect from the "best" of something.

[-] abbadon420@lemm.ee 2 points 3 weeks ago

I'm a big fan of jetbrains, I think they make awesome product and they're great with the community. That being said, CLion sucks. If I code in C (which isn't often), I just use VsCode. It's much better. IntelliJ, Webstorm and PyCharm are great products though.

[-] zlatko@programming.dev 2 points 3 weeks ago

JetBrains git integration is a known mess, true.

[-] masterspace@lemmy.ca 24 points 3 weeks ago

VSCode & VSCodium are also free for commercial use.

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

[-] tja@sh.itjust.works 12 points 3 weeks ago* (last edited 3 weeks ago)

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

[-] masterspace@lemmy.ca 7 points 3 weeks ago* (last edited 3 weeks ago)

It's not about cheapness, it's about consistency.

You wanna set up different dev environments and process for every single language you or someone from your team might use? Oh we need documentation and a license for IDEA when we're doing Java work, and PyCharm when we're doing Python work, and WebStorm when we're doing JavaScript work, or we just all use VSCode for everything.

I've worked on Java teams, Python Teams, JavaScript Teams, C# teams, and quite frankly, I've seen no major benefit to a dedicated IDE for that language vs just configuring VSCode plugins and CLI scripts.

[-] tja@sh.itjust.works 4 points 3 weeks ago

We just have the ultimate license and can use all of the intellij IDEs, but you also can do everything with IDEA and some plugins. And I'm that car you still have the experience of a real IDE and not just a code editor.

[-] masterspace@lemmy.ca 3 points 3 weeks ago* (last edited 3 weeks ago)

Lol "real IDE". Name the actual day to day feature(s) that makes it "real". Just saying "you use a little bitch IDE, i use a real IDE" is not an argument.

[-] zlatko@programming.dev 3 points 3 weeks ago

Much better integrated refactoring support. Much better source code integration support. Much better integrated debugging support. Much better integrated assistive (but not ai) support.

Vscode can do many things IntelliJ can, but not all, and many of them require fiddling with plugins.

Usually, JB is also faster (if your dev machine can run it, but in my experience most devs have beefy machines).

[-] CodeMonkey@programming.dev 9 points 3 weeks 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.

[-] ADTJ@feddit.uk 8 points 3 weeks 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.

[-] Rogue@feddit.uk 2 points 3 weeks ago

Jetbrains licenses are like £100 a year. What commercial project isn't able to cover that cost.

[-] EowynCarter@lemm.ee 1 points 3 weeks ago

I'm just hopping the price won't rise in return.

Yet I'm not going back to eclipse.

[-] Rogue@feddit.uk 1 points 3 weeks ago

They give incremental discounts each time you renew so even if the price increases you'll probably find you're spending less each time.

[-] EowynCarter@lemm.ee 1 points 3 weeks ago

I've been on the lower price forever as I had a licence from before the switch.

It's already expensive. And having a comercial option that is affordable for normal people rather than $$$ entreprise would be good. Quitte a few paying of their own because their entreprise won't.

[-] zlatko@programming.dev 1 points 3 weeks ago

I would expect it to rise. I still think it's worth it, if it's a good tool for you. IntelliJ is really a good product, even if they do have their downsides. In a commercial environment, it's totally worth it to buy a licence per developer, if it makes them more productive.

[-] thepiguy@lemmy.ml 7 points 3 weeks ago

This is great. Rider pretty much carried me through my first year at uni, considering that visual studio does not work on Linux. The neovim plugin for C# that I used kept crashing for me, glad to see non students also getting a chance to try out this software.

[-] JakenVeina@lemm.ee 3 points 3 weeks ago

I suspect this is because of the looming end of Windows 10. There's a large segment of Windows users, myself included, with Visual Studio being the only remaining tie to the Windows ecosystem. Extremely smart move by JetBrains, if true.

[-] moreeni@lemm.ee 3 points 3 weeks ago

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

[-] TxzK@lemmy.zip 14 points 3 weeks ago

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

[-] moreeni@lemm.ee 2 points 3 weeks ago

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@programming.dev 2 points 3 weeks ago* (last edited 3 weeks ago)

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.

[-] moreeni@lemm.ee 2 points 3 weeks ago

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@programming.dev 2 points 3 weeks ago* (last edited 3 weeks 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.

[-] moreeni@lemm.ee 2 points 3 weeks ago* (last edited 3 weeks ago)

I didn't have any errors in the init.vim file because I didn't have any. I added an example init.lua file with contents from here and configured the extension to pull this config file, yet it still says Nvim disconnected each time I restart it. I just gave up and resorted to VSVim

[-] MajorHavoc@programming.dev 3 points 3 weeks ago

That makes sense. Did you also set the path to Nvim in settings.json? I had to do so to clear at least one error.

I also sometimes get that "disconnected" error too, but the have it work fine. I think there's a race condition and it raises the error right after it starts, but then connects anyway, once everything else is set.

[-] moreeni@lemm.ee 2 points 3 weeks ago

Did you also set the path to Nvim in settings.json? I had to do so to clear at least one error.

Yup. I set it to /run/host/usr/bin/nvim after exposing system libraries and binaries to VS Codium through KDE's flatpak permission manager. Prior to that it kept throwing me ENOF errors (or something like that, I don't remember now).

Unfortunately, that "disconnected" error is either not caused by a race condition for me or I was really unlucky, because at some point I restarted the extension 30 or some times out of frustration and nothing changed 😅

[-] JakenVeina@lemm.ee 1 points 3 weeks ago

You've never met an average ASP.NET developer?

[-] lysdexic@programming.dev 1 points 3 weeks ago

You’ve never met an average ASP.NET developer?

OP is right. For web development with JavaScript frameworks (React, Angular, etc) with Node and even Typescript, you either use vscode or you haven't discovered vscode yet.

[-] zlatko@programming.dev 2 points 3 weeks ago

Or meet old ideological dogs like me :P

this post was submitted on 25 Oct 2024
113 points (100.0% liked)

Programming

17443 readers
185 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 !webdev@programming.dev



founded 1 year ago
MODERATORS