js-autoimport
js-autoimport copied to clipboard
Super useful features!!!
- It would be really amazing if I was given a name of the component from autocompletion within third party modules (eg
react-native
) so that I don't have to manually addText
,TextInput
etc. it each time in a new components I create. - Even though the component has an
export default
is it possible to also get suggestion based on the nameexport default {name}
the autoimport by the specified name (maybe show relative path to the potential component placement the autosuggestion)?
I believe community will appreciate very much such a handy functionality that can substitute (possibly outrun) "WebStorm" for example.
UPDATE: 3. A fun thing to code you may find, is to keep linkage between file paths and their usage, so that whenever path changes, you automatically replace all files usages with a right one. If it is being deleted - show all files that use it to developer. That would be fantastic!