Lysa»Blog

Potential IDEs

Inspired by Per Vognsen's streams (Bitwise is an awesome project), I've started dabbling in VS Code and CLion to get a more integrated debugging experience, and I'm trying to decide which one to use regularly.

Building and Config

One reason for the experiment is to improve my workflow. This week has been a pain in the ass for debugging and building, but moving over to CLion using CMake has helped a bit. The initial setup wasn't fun, but I've had worse. I haven't setup VS Code for working on Lysa yet, but I have played with it a little for Rust. I suspect that I'll have a hell of a time getting Lysa to build using VS Code. By the way, why does the configuration of Code have to be such a pain in the ass? It's much better in CLion.

Integrated Debugging

As for the debugging experience, there are some issues so far. It doesn't look like there is a neat way to start the debugger and run to my cursor. The workaround that I've come up with so far (but haven't tested) is to configure a key binding that does it all for me.

Unfortunately, I would have to make sure there is a breakpoint on main() at all times. I'll just have to see if this sort of "combo" key binding is possible in either IDE.

What about YOU?

Do you use VS Code or CLion? Do you have opinions on one, the other, or both?

Editing in Lysa?

Lastly, I wanted to mention that I am thinking more about what the source window will allow. Initially, you won't be able to edit text (that stuff is hard!), but maybe that will change later down the road...

And of course, once the Lysa library is ready, there might be some editors out there that would pair quite nicely.
Mārtiņš Možeiko, Edited by Mārtiņš Možeiko on
Any IDE written in Java or JavaScript is a big NO for me.
Shazan Shums,
I agree with mmozeiko
Jeremiah Goerdt,
mmozeiko
Any IDE written in Java or JavaScript is a big NO for me.


Are there better alternatives that work on Windows and Linux?
Mikael Johansson,
I agree to. C or minimal C++ are the only sane choises when building an editor.
Mārtiņš Možeiko, Edited by Mārtiņš Možeiko on
CaptainKraft
Are there better alternatives that work on Windows and Linux?

Not sure if better, but there are alternatives. Like QtCreator. Although I care about IDEs less and less. vim or SublimeText, or just FarManager is all I need.
Jeremiah Goerdt,
mmozeiko
CaptainKraft
Are there better alternatives that work on Windows and Linux?

Not sure if better, but there are alternatives. Like QtCreator. Although I care about IDEs less and less. vim or SublimeText, or just FarManager is all I need.


I've been using vim and neovim for years. In college, Eclipse was almost mandatory and I learned to hate it, so I've rebelled against IDEs for a while. It's about time I give some other IDEs a fair shake.

I did try QtCreator for a bit and it annoyed me on a daily basis.
CaptainKraft
mmozeiko
Any IDE written in Java or JavaScript is a big NO for me.


Are there better alternatives that work on Windows and Linux?

I doubt you'll find anything better than CLion.

AFAIK, Jetbrains is one of the very few companies left who still does good dev tools.
Yes, they are written in Java, and the performance is kind of *meh*, but their code-navigation, refactoring, autocompletion and usability is top-notch. Especially once you set-up all the hotkeys.

They arguably have the best tools for C#(Resharper/Rider), Java(IntelliJ) and Python (PyCharm).

And compared to MSVS (which I still use for C/C++ and C#), they are cross-platform.
Once MS drives Windows and MSVS completely into the ground (and they are really trying to get there), I'll hop onto the least shitty linux distro, and still have the really polished Jetbrains dev tools for C/C++/C#/Java/Python to work with.



Jeremiah Goerdt,
pragmatic_hero

Once MS drives Windows and MSVS completely into the ground (and they are really trying to get there), I'll hop onto the least shitty linux distro, and still have the really polished Jetbrains dev tools for C/C++/C#/Java/Python to work with.


Never put off until tomorrow what you can do today.

;-)
pragmatic_hero
CaptainKraft
mmozeiko
Any IDE written in Java or JavaScript is a big NO for me.


Are there better alternatives that work on Windows and Linux?

I doubt you'll find anything better than CLion.

AFAIK, Jetbrains is one of the very few companies left who still does good dev tools.
Yes, they are written in Java, and the performance is kind of *meh*, but their code-navigation, refactoring, autocompletion and usability is top-notch. Especially once you set-up all the hotkeys.

They arguably have the best tools for C#(Resharper/Rider), Java(IntelliJ) and Python (PyCharm).

And compared to MSVS (which I still use for C/C++ and C#), they are cross-platform.
Once MS drives Windows and MSVS completely into the ground (and they are really trying to get there), I'll hop onto the least shitty linux distro, and still have the really polished Jetbrains dev tools for C/C++/C#/Java/Python to work with.





I fully agree! The Jetbrains tools are really good. Even though its written in Java it feels more responsive than visual studio. I hope they fix the symbol search in CLion -> It was not working for me at all.

Visual studio has the worst symbol search ever (Ctrl + ;) -> Searches always in all files in the solution, including standard libs *sigh* and its slow like hell.
Jeremiah Goerdt,
Finalspace

I fully agree! The Jetbrains tools are really good. Even though its written in Java it feels more responsive than visual studio. I hope they fix the symbol search in CLion -> It was not working for me at all.

Visual studio has the worst symbol search ever (Ctrl + ;) -> Searches always in all files in the solution, including standard libs *sigh* and its slow like hell.


I still have plenty of tweaking to do before I can officially adopt CLion. There are still some annoyances that I'd like to figure out how to remove. While I'm streaming, I'll run into something that bothers me and I haven't wrote them down yet. If I can iron out a few details, CLion might be a permanent addition for my workflow.