Home | News | Documentation | Download

How to run ROOT Macros in VS Code

Visual Studio Code offers some great functionalities when it comes to coding, such as IntelliSense, debugging, built-in Git, and many more through extensions. In this blog post I’m going to show how to configure VS Code in order to use all of these awesome features when creating and editing ROOT Macros!


This is a companion discussion topic for the original entry at https://root.cern/blog/root-on-vscode/
3 Likes

Thank Alberto! It do work and will bring great convenience for using root.

1 Like

oh! It is so convenience to view root files!

1 Like

Thank Alberto! it works on my computer, and that’s really convenient.
the “args” list at launch.json need be changed when I want to run new Root Macro, I am wonder whether Is there a way to automatically run the Macro which opened by VS code.