plotly / dash-component-boilerplate

Get started creating your own Dash components here.
266 stars 182 forks source link

Component doc strings do not show in VSCODE #82

Open stevej2608 opened 4 years ago

stevej2608 commented 4 years ago

Hi,

I've noticed that the component doc strings are not showing correctly in VSCODE (on windows). This is also the case with the docstrings in the Dash html and core components libraties. All you see is a one line header, eg:

html

The docstrings in the dash-bootstrap-components do show correctly:

dbc

The problem must be part of the dash-component-boilerplate build process but I've not been able to spot it.

xhluca commented 3 years ago

An indirect solution I came across is to use the pylance extension that was released just a few days ago by the Microsoft team for VSCode. It seems to work well for html.Div and dash_deck:

image