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.
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.