I would say there is no perfect answer when it comes to chose the right IDE. This is very often a matter of own preferences.
VSCode is good, and there are really lots of add-ins available, but the philosophy is a bit different than some can expect (meaning many things must be setup by user, many things are optimised for keyboard use rather than mouse, ...), so may users can be a bit "afraid" or at least "disturbed" when using it (and I need to confess I am one of those).
Code::Blocks is also good. And closer to usual IDE approach but with no integration of GIT or WSL, so this part must be setup manually by user. In my case, I have two Code::Blocks setup, one using the windows version and one using the linux version running on WSL with GUI support (I am using GWSL to correctly setup a X11 server on WSL as I was not able to correctly activate the GUI support on my WSL2). If needed you can have a look here
https://www.microsoft.com/fr-fr/p/gwsl/9nl6kd1h33v3?activetab=pivot:overviewtabBR
Sly