this post was submitted on 14 Jun 2023
45 points (97.9% liked)

Programming

3347 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] gears 1 points 1 year ago (3 children)

Can you elaborate on your debugger?

I've been trying to switch to neovim, and I've got a pretty decent setup with treesitter and also lspconfig. My search and debugger are still non-existent and I'm not sure what is best.

I write python and c/c++ (for MCUs) at work, and I'm curious what the state of integration with potential debuggers is.

[–] IndependentRanger 2 points 1 year ago* (last edited 1 year ago) (2 children)

Sure. It uses something called DAP and I use nvim-dap-ui for a VSCode like experience. I appreciate its annoying to find a good debugger for neovim. I use mine with python and it even plays nicely with venvs. Hope that helps!

https://github.com/mfussenegger/nvim-dap

https://github.com/rcarriga/nvim-dap-ui

[–] gears 2 points 1 year ago (1 children)

Hey thanks for letting me know about this btw! I've been using it at work and it's great, I love it. I've been using it for my Python repo, but I still need to set up the cortex-debug stuff and whatnot for my MCU crap.

[–] IndependentRanger 2 points 1 year ago

I don't know about cortex-debug I'm afraid, but I'm glad the python stuff is working out 🙂