So, I have been mostly self thaught programmer (C++), as its a big part of my job (not a regular developer). But so far I have been using a simple text editor like Geany to code and I compile stuff either in terminal (linux) or produce my own make file.
I am starting to wonder if I should switch to a full IDE, as I am on linux, I was thinking of trying KDevelop. But I am simply not sure if its worth, do I even need it?
I have never used an IDE, it seems kind of complicated for the start with “projects” and I havent really found any good introductions to how this workflow is supposed to work.
Do you think using and IDE is something everyone should use? Or do you think a text editor with producing your own make files should be enough?
I use vim, and I can safely say, it was worth bothering to learn it and set it up, ESPECIALLY if you make a career out of it, and one time I had a friend who didn’t use an IDE and I showed him how much easier it was to do certain things on vim and he felt very very stupid for using notepad.
I’ve moved to neovim myself after 20+ years of vim and 30+ years of programming with various editors and even monitors. I’ve used IDEs when in projects where everyone does and where the build may rely on them (yes, that’s a disaster) or when it’s the only tool offered (old obscure embedded systems). But I’ve never wanted to use any of them or found the results useful. Debuggers and editors can be extended to do anything extra an IDE does.
Extra tips: Helix might have an even better command system. Kate almost works like an IDE and offers a vi command mode in a GUI editor.
being able to immediately jump to a line, jump to columns, have line numbers on the left, have css colors show up like this: https://github.com/RRethy/vim-hexokinase
It’s been awesome for me!
I do actually use neovim though.
Tbh, that just sounds like an IDE with extra steps. IntelliJ for example does all of those things as well IIRC and you don’t need to rely on third-party tools.
Of course you’ll learn a lot more along the way if you configure vim to effectively be an IDE, but the end result is not that different.
There’s a lot of value in using an IDE, from just general formatting stuff to being able to tell what class functions do without having to dig into the class itself. Not to mention autocomplete.
There’s lots of free solutions out there now, so if you’re curious I’d give it a shot. I think you’ll find once you start using one it’ll be hard to go back to just a plain text editor.
I like vs code a lot, if you’re looking for specific recommendations. It’s lightweight and can be upgraded to do pretty much anything via extensions.
I usually use a text editor in day to day, but when I say text editor, I mean something a little more full featured like emacs or sometimes vim. It’s quite valuable to have something that can integrate easily with a debugger and has navigation + completion features if you want to go the text editor route. I hadn’t heard of geany before, but it looks like it can do at least that much.
As hiajen said, most IDE’s simply aren’t as useful for lower-level languages like C++. And while communist suggested vim, I would say that something along the lines of helix-editor would be a bit more user-friendly, and just as extensible :)
Some IDE’s really speed up development, yes. They provide tools for running tests, automatically do formatting and make it very easy to navigate around the code. For me, that last point is the main reason to use an IDE, it is so much faster to just click on a function and go to the file where that function is implemented. IDE’s can also help with setting breakpoints and using the debugger.
I’m not sure how things are for C++ though. Personally, I mostly develop with Java, Typescript (Svelte), Python and Rust. For Java, I use IntelliJ, for all others I just use VS Code.