I was wondering if anyone had any instructions / insights for getting tab completion working with pyROOT in an IDE environment? (using MS Visual Studio Code in particular but also interested in general).
For me, it already works using the jupyter notebooks, can the same be done in an IDE?
Autocompletion for PyROOT in Jupyter is provided by this module:
Please note that the case of an IDE is different, since the code is not running as it is in a Jupyter notebook. In this regard, PyROOT is special, because it does everything lazily: no Python equivalent for any C++ class exists a priori, all the lookups and done dynamically at execution time via ROOT and its C++ meta classes. This makes it challenging to provide autocompletion in IDEs for PyROOT.