soates / Auto-Import

vscode extension that will automatically finds, parses and provides code actions for all available imports. Only currently works with files in your folder and TypeScript.
MIT License
165 stars 62 forks source link

Support default exports #16

Open amatiasq opened 8 years ago

amatiasq commented 8 years ago

I know default exports aren't required to have a name but there is a common pattern where a default export also has a name:

export default class MyClass {}

Is there any way this plugin can support autocomplete when I try to use MyClass somewhere and automatically add import MyClass from './my-file';?

soates commented 8 years ago

Absolutely.. Great suggestion!