Dear Haiku developers,
which is your favorite C++ IDE under Haiku? It would be great if you had a port of visual studio code, not visual studio 2022. The code runs on any platform nowadays. Are there any plans to port it to haiku? If not, is there any alternative? Even vim would do but with a .vimrc that works without configuration because I have lost centuries trying to configure vim and always something does not work as expected. It would be wonderful if there was something where you can define a project file (with or without makefiles) a simple editor that supports intellisense and can compile from within the editor and list the compilation errors so that you can click the error and be redirected to the problematic line at the associated .cpp file. So is there something providing all that?
Did you have a look at Genio or Qt Creator on Haiku ?
That’s the tools I have in mind for C++ IDE development under Haiku
Try Genio,it’s a native Haiku application and it’s really great.
It’s lightweight and easy to use,but also powerful with Git integration and support for Language Server Plugins and clang integration.
If you don’t like it,there’s KDevelop from the KDE project which you may know from other platforms,that one also works good.
VS Code is a web application built on Electron and the Chromium engine.
That doesn’t work here and the Chromium project refuses to accept patches for anything that isn’t Windows,Linux or MacOS,so that’s not a viable target to port.
Thanks guys, I will start with Genio since it is native Haiku.
Guys I tried Genio, and although it is installed from pkgman, it does not start from the terminal. Both
~> genio
~>Genio
result in command not found.
How can I start it?
Open the start menu,go to Applications and click on Genio.
Thanks! So it cannot be started from the command line?
You can do:
/boot/system/apps/Genio/Genio
Haiku places graphical applications and CLI applications in different directories,since graphical applications are usually meant to be started from the GUI.
If you really want to start it from the terminal,you must specify the whole path:
/boot/system/apps/Genio/Genio
Could a symlink be created automatically for certain packages? Personally I use VScode for work on a few different platforms but I almost always launch it from the temrinal in the directory I want to work in. I feel like an IDE is different to a lot of other applicaitons in that regard.
Genio is installed in it’s own container path, a manual link in ~/config/non-packaged/bin can solve this (or should)
That said, Lazarus is one I use from time to time also (granted not perfect but works for me building CudaText) and KDevelop is one in my top list.
EDIT, should read more carefully Lazarus isn’t a C++ IDE
You can also add the path of Genio (/boot/system/apps/Genio) into the export PATH in the “profile” file :
Edit /boot/home/config/settings/profile
Add the line :
export PATH=$PATH:/boot/system/apps/Genio
Relaunch your Terminal and that’s it !
Thanks for the suggestion. Is there any support for themes selection in Genio as it is in the terminal (Colors)?
Yes,click on the Genio icon in the menu bar,then Settings.
In the Settings window,click on Editor->Visuals and select one from the Editor style dropdown.
That will change the style of the text editor component.
The rest of the application uses system style,whose colors can be customized in the Appearance preferences of the system.
But if you really must …
ln -s /boot/system/apps/Genio/Genio /boot/home/config/non-packaged/bin/genio
will give you the genio command in Terminal.
apps/ is in path… normally Native apps are installed there directly and do not use subdirectories. Launching applications from the Terminal is supported.
Hopefully Paladin will get some attention again some day.
Emacs is extremely expandable and configurable, at the cost of a rather steep learning curve in the beginning. It’s the most feature-rich IDE (among many other things) I’ve ever seen, and it works great on Haiku. But Genio is native application and works great as well.
You can take a look at “koder” too.
Regarding KDevelop, do you use GDB for debugging ?
How so, how to do the configuration in KDevelop ?