this post was submitted on 25 Oct 2024
107 points (95.0% liked)

Programming

17313 readers
297 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] calcopiritus 1 points 1 month ago* (last edited 1 month ago) (3 children)

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] 4 points 1 month ago (1 children)

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 1 points 1 month 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.

[–] [email protected] 2 points 1 month ago

JetBrains git integration is a known mess, true.

[–] [email protected] 1 points 1 month 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.