Add files to __init__
for autocomplete in VS Code
#3135
Labels
TRIAGE
Default label for untriaged issues
__init__
for autocomplete in VS Code
#3135
When writing in vs code the autocomplete only works for modules imported in an
__init__.py
file, e.g.pn.widgets.IntSlider
work butpn.viewable.Viewer
does not. See here:example.1.mp4
The solution is pretty easy as
.viewable
only needs to be added to the__init__
.example.2.mp4
I don't know if #3132 will fix this. When you have time @MarcSkovMadsen can you check this?
The text was updated successfully, but these errors were encountered: