Hi, all!
my vscode stopped working (autocomplete wait times are minutes now) and I can't
fix it so I look for another IDE for C++ to work with Ogre.
Currently I use vim but it is too much manual work for looking up everything which makes
working with complex C++ really slow. Need something with intellisense. I worked with Eclipse
some years ago but I prefer not to with this project. Geany can't do anything beyond what vim
can do so it is pointless. Any suggestions?
What IDE to use for c++ on Linux with Ogre?
-
slapin
- Bronze Sponsor

- Posts: 339
- Joined: Fri May 23, 2025 5:04 pm
- x 24
What IDE to use for c++ on Linux with Ogre?
-
dark_sylinc
- OGRE Team Member

- Posts: 5539
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1399
Re: What IDE to use for c++ on Linux with Ogre?
QtCreator is really good. It has two autocomplete engines. The first one is the old one and is basic but fast (and lately... getting abandoned). The second one is now the default one (if you've got >= 16GB RAM, else it defaults to the old one) which uses clangd as the backend.
It consumes more RAM but autocomplete (and all related functionality) is perfect.
-
paroj
- OGRE Team Member

- Posts: 2274
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1239
-
slapin
- Bronze Sponsor

- Posts: 339
- Joined: Fri May 23, 2025 5:04 pm
- x 24
Re: What IDE to use for c++ on Linux with Ogre?
dark_sylinc wrote: Sun Dec 14, 2025 4:44 amQtCreator is really good. It has two autocomplete engines. The first one is the old one and is basic but fast (and lately... getting abandoned). The second one is now the default one (if you've got >= 16GB RAM, else it defaults to the old one) which uses clangd as the backend.
It consumes more RAM but autocomplete (and all related functionality) is perfect.
Thanks a lot for advice! QtCreator made big progress since I last tried it and was able to pick up my project almost automagically.
The speed is good even though autocomplete sometimes breaks but still it is much better than vscode which is no longer able to do anything with my project. The project navigation is mostly at the same level. I will miss TODO things and gitea integration, but I can live without them.
-
slapin
- Bronze Sponsor

- Posts: 339
- Joined: Fri May 23, 2025 5:04 pm
- x 24
Re: What IDE to use for c++ on Linux with Ogre?
paroj wrote: Sun Dec 14, 2025 3:16 pmhttps://marketplace.visualstudio.com/it ... ode-clangd
also works with vim btw
clangd with vim... I wonder what can it do... Need to check... but last time I tried it was too much work to handle it...
I think for c++ I will go with QtCreator for now, as it has vim mode.
-
Crystal Hammer
- Orc
- Posts: 413
- Joined: Sat Jun 23, 2007 5:16 pm
- x 123
Re: What IDE to use for c++ on Linux with Ogre?
I use VSCodium set up with clang, clangd plugin, CMake plugin. All extension I use in my setup on my page here. I did some only tiny things in Ogre and Ogre-Next projects 1 year ago, not much. It worked okay.
-
slapin
- Bronze Sponsor

- Posts: 339
- Joined: Fri May 23, 2025 5:04 pm
- x 24
Re: What IDE to use for c++ on Linux with Ogre?
Looks like both QtCreater and VSCode and its derivatives are fundamentally incapable
to do work with Git and work with PRs as they produce too much noise commits with
formatting enabled. What do you do to survive this? Currently I have to do all PR work
using vim and rewrite all the changes in sane way as autoformat stops being helping tool
but turns into major annoyance. As with QtCreator it seems it is just useless and autoformat
better be disabled at all and used only on occasion, the VSCode has autoformat limiter feature
which just doesn't work when you need it, as it randomly considers to autoformat whole file
when you just changed a few lines, which makes it completely unreliable. I was thinking that with
most workflows these should be resolved more or less but it seems it is totally unhandled field.
So what I guess I have only 2 options:
- disable autoformat completely. Looks like best option.
- write custom scripts which will do clang-format on changed files but limit the scope only to changed lines.
The later part looks complex enough to be worth it at all. So I guess manual coding style is still
the best approach; Probably coding style checking of modified lines can be implemented for commit hooks,
but that is all which can be done and worth doing.
Any suggestion is appreciated.
-
paroj
- OGRE Team Member

- Posts: 2274
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1239
Re: What IDE to use for c++ on Linux with Ogre?
using autoformat on an existing codebase sounds like a bad idea anyway.
What I do is "Format Selection" after I edit a piece of code, which is available in most editors..
-
slapin
- Bronze Sponsor

- Posts: 339
- Joined: Fri May 23, 2025 5:04 pm
- x 24
Re: What IDE to use for c++ on Linux with Ogre?
Not in QtCreator and on VSCode it works randomly ![]()