I use Code Builder Extension which helps me run code using input & output files, It's available at vs code extensions. You can also use tasks to run the code without any extension. I have also added some starter snippets.