Which framework to use for coding RP2040

Your question does not indicate a problem with the IDE 2.x (or 1.x for that matter) but has more generic nature. Hence I've moved your topic to a more suitable location on the forum.