I agree that setting up Emacs from scratch could be a long journey, but there are prebuilt emacs configs like Spacemacs which are even more capable than VSCode out of the box.
Plus, I can usually work in someone else's Emacs session and most people can work in mine. (Yes, they almost always comment on how it's odd to not have their customizations, but they're not tripped up by mine.)
I haven't had an emacs config for >25 years.