For glue code and quick hacks I tend to use python, edited in nvim. I use git for version control for all of my hand edited files like code or custom gcode.
I don’t do much file munging or generating for CAD/CAM, though. I may soon need/want to hack a little on FreeCAD CAM which from my initial skim of the docs I gather can be done in Python with the intensive bits in C++ if necessary.
Eclipse for things like STM32 and the Arduino IDE is moving to the same core IDE parts(Arduino IDE v2) but lots of other stuff is done on the command line like PlatformIO CLI. I used to use Atom(?) but that was frowned upon by git when they were getting bought by Microsoft and then it was pushed out for MS Visual Code. That company has destroyed so many things I just don’t touch anything they touch unless I really have to and even then it’s best to be offline when doing it. Makefiles, bash scripts and more Python work fine and are fast. Lots of OSS CAM tools are done in Python and both OpenSCAD and FreeCAD support Python extensions.