Visual Studio Code is an awesome text editor. It is in fact my favorite one. I use it for writing blog posts, I use it for looking at code (although I prefer JetBrains IDEs for actual coding) and I use it whenever I need a text editor.
What I really like is the plugin system. There are plugins for almost everything and you also get recommended addons for the file you currently look at (probably based on the filetype).