code-server works really well on the iPad. Make a web-app and you have VSCode as pretty much a full citizen. (Except of course you need a network connection and a remote system.) When I’m traveling light, this is an excellent solution. That said, no one should buy an iPad foremostly to code on.
No, no it doesn't work really well. iOS Safari aggressively suspends tabs in the background. So when you switch from editor to webpage, it will often suspend your editor, forcing it to refresh when you flip back to it and you lose the ssh connection, debugger, or whatever else you have running. And if you're debugging a front end in a certain state, it will suspend that, and refresh it when you return, losing that important state. Very infuriating experience. I tried for months to make my iPad Pro an acceptable dev environment, both locally and remotely via code-server, and the OS just isn't there (yet). Maybe someday.