Microsoft has decided to bring back Macros in VS 2013+. Great and a big thank you. But they use now JavaScript instead of VB so being the 1% of developers that has been using them ever since, I have to rewrite my treasures into JavaScript now. I spent hours searching the internet but could not find anything that would explain the new macros in detail.
To some extent I could help myself by first recording what I wanted to do and then copy that sequence of macro commands from the recorded into my custom macro. That works for simple linear code but when I want to do more complex things, e.g. calls of subprograms and functions, loops, variable declarations, their scope, etc. I am lost, I couldn't find anything on that.
So could someone point me to a comprehensive top-down documentation and/or tutorial of the new Visual Studio Macros?