Skip to content

of-human-bondage/react-proptypes-intellisense

Repository files navigation

React Proptypes Intellisense README

Build Status Build status codecov

Features

The extension finds React PropTypes and adds them to the suggestion list.

react-proptypes-intellisense

It works for all implementations of the "PropTypes" feature, i.e. static propTypes, proptypes from a prototype, etc.

Problems

If the extension doesn't work try to configure jsconfig.json.

Your imports have to be resolved to work with this extension:

{
    "compilerOptions": {
        "jsx": "react",
        "baseUrl": "./src/js"
    }
}

"baseUrl" - base directory to resolve imports