I do most of my editing in Atom. Lots of packages you can add to it to help with syntax highlighting in various languages, some include skeletons that present themselves when you start typing something like a tag or a block and you can then [TAB] to place the skeleton and tab through between the places you need to add your own code. Also available cross platform. And if you're really good, it's open for customisations.
the best text editor is "visual studio code" it has a lot of additional packages and allows you to manage your git repositories from the same text editor with a great user interface for default and you can register it to open in the right click menu, additionally it automatically shows you when a plugin has an update and you can search the plugins from the same text editor, no need to search it from the web, and has more functionalities that just does the life easier for you.