How to run ROOT Macros in VS Code

If anyone has the same problem, I found a nice solution at this link:

Best regards.