of-human-bondage/react-proptypes-intellisense

Show the comments located above the props

Opened this issue · 1 comments

Add ability to show the comments located above the props together with the type of propTypes, it would be an addition for documentation and an easy way to understand what the props means. Like JSDoc does, for example.

+1

By default, when using functional components, and adding propTypes, VSCode picks up the propTypes as suggestions as well as displays the jsdoc comments on hover over the prop. It would be great to have something similar for the use cases being solved by this extension as well