vscode-js-import
vscode-js-import copied to clipboard
Add support for flow type imports
This adds support for automatically importing flow types
Fixes #12
@ganemone The code seems has been formatted in this commit by prettier
@wangtao0101 Ok - I updated the PR to remove the formatting changes
@wangtao0101 thoughts on getting this merged? Happy to make any more updates you ask for
@ganemone I think we should not check 'src/index' for main entry, maybe you can scan both mainfile in packagejson and 'src/index'
@wangtao0101 I do check both src/index.js
and package.json
main. This is actually the way node.js will handle module resolution. See https://nodejs.org/api/modules.html#modules_all_together
Curious what the status is of this PR? I was hunting for a vscode plugin that does auto imports of flow types and ran into this!
I'm also looking for auto import of flow types. This plugin is already great and having the ability to import Flow types would really help me out.