Language Server for PyROOT

Hi everyone,

I don’t know if this is the rght place to ask this, feel free to redirect me if it isn’t.

I’ve seen this post from a few years back talking about Language Server Protocol for Python. I see that one could define a `.pyi` file to describe the content of the package, see here. Maybe it’s too complicated for ROOT since it’s quite big :grin: Would like to know either way your thoughts on this

Best regards,

I guess @vpadulan can help.

Dear @EliottDucarme ,

Thanks for reaching out to the forum!

The idea of having an LSP that seamlessly integrates with ROOT is intriguing. Generally, there hasn’t been much progress there for the same reasons highlighted in the forum post you link. Nonetheless, the idea has not been discarded completely and indeed .pyi files are part of the picture. There was a small glimpse of a recent prototyping effort of this feature at the latest ROOT users workshop (See slides 15-16 at ROOT Users Workshop 2025 (17-21 November 2025): Advancing Python-C++ Interoperability in ROOT and beyond · Indico). This is currently not a high priority for the project, but external contributions are always welcome! Maybe there will be updates in the future, but not for now.

Cheers,
Vincenzo

Dear @vpadulan,

Thanks for your nice answer. I know it was not an easy feature, and not a very high priority one indeed, to implement but at least I can see people are working on it. I’ll try ot remember to check from time to time these ROOT Workshops, I did not think of checking there for update on that subject !

Cheers,

Eliott