Microsoft has made a lot of software and not everyone loves all of it. However, Visual Studio Code is an excellent tool and we can not recommend it enough.
Visual Studio Code – Code Editing. Redefined
Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform – Linux, macOS, and Windows.
Code (Visual Studio Code) has a rich set of extensions and works on multiple platforms; Mac, Linux, and of course Windows.
You might even be able to get it working on an iPad. See https://dev.to/gb/coding-on-the-ipad-ipados-13-4-edition-3k0c if you want to give that a try.