@WebStormIDE should improve import suggestions based on existing import statements in the project
Tnx! Not sure it would be possible :( We don't build a prediction model to provide code completion or import suggestions. We rely on static code analysis to find all modules where the symbol is defined. However, it might be reasonable to hardcode the suggestion for prop-types :)
-
-
I know, and it's totally possible to index existing import statements in the project. Also, even if I create a file in my proj exporting something called PropTypes, importing suggestions fail by trying to guess modules by its properties. Ordering suggestions properly is crucial
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.