lishuwei
Thank Alberto! It do work and will bring great convenience for using root.
Thank Alberto! It do work and will bring great convenience for using root.
oh! It is so convenience to view root files!
you can change hsimple.C in args to ${file}
Is there anyway to change the behaviour of the F5/run button, ideally, I’d want to disable GDB attaching or change how it operates. I’ve been trying to figure this out and it doesn’t seem as simple as using the run without debugging option, which keeps trying to attach GDB anyway.
Originally I’d said the snap package of ROOT wouldn’t really work with IDE’s generally. This is mostly due to the non standard include paths and the complications of trying to work in the container vs out of it, but following this blog, VSCode can be made to get 99% of the way there, with intellisense support, but I can’t get F5 to work because GDB needs to be handled specially for snaps.
Perhaps I’m being blind to something obvious, but otherwise this does fill a huge problem with the snap package so I’d be really keen to have suggestions.
Hey many thanks for the post.
I did it like you described but I don’t have IntelliSense autocompletion or something for everything coming with root (plain C is working). Do anyone have an idea how to solve this?
I am using VS Code 1.57.1 and root 6.24.00. Did something change in the meantime?
Many thanks for any help!
Does this method also work in MacOS, typically M1 silicon?
Let me invite @AlbertoPdRF over, he might not even be aware of what’s happening here