Hi @ItamarShDev
I would also like better autocompletion in VS Code. Some improvements will come from PR #3411 · holoviz/panel (github.com) when Panel 0.13.1 is released.
But to really get great autocompletion with tooltips in VS Code a lot has to improve. The reason being that VS code uses static type analysis via pyright. Pyright does not understand Param
and similar libraries. See for example Support signatures · Issue #2855 · microsoft/pyright (github.com)
I have been experimenting with solutions and trying to gain momentum because as I see it, its a prerequisite for being a “modern” python library. But most other python libraries with some years on their back has this problem.
Please go and upvote/ comment on some of the below to show I’m not the only want who wants better help in VS Code when working with Panel and HoloViz.
Resources
- Stub experiments by MarcSkovMadsen · Pull Request #3132 · holoviz/panel (github.com)
- Support mypy by adding py.typed file · Issue #2968 · holoviz/panel (github.com)
- Enable intellisense for arguments to widgets, panes, layouts etc. · Issue #3085 · holoviz/panel (github.com)
- Please support static typing · Issue #376 · holoviz/param (github.com)