I'm using VSC for JavaScript. Question: surely there's an easy way to run a "Hello World" macro from editor with a single keystroke? Currently I have to:
- Toggle to console with custom keyboard shortcut
- Enter filename (e.g. "HelloWorld.js" or up arrow)
- "Enter" key to run
- Toggle back to editor with custom keyboard shortcut
Learning JavaScript/NodeJS, coding background is Excel VBA (long story...). I'm used to VBA Macro Editor where you do all above by hitting F5 VBA Editor (or step through with F8). Code runs on spreadsheet or 'Immediate Window' below - see photo. Can do similar on online editors like Repl.it with "Run" button Repl.it.
How do you do this in VSC?