• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

import-it

Automatically adds require and import statements for undeclared identifiers to Javascript and/or Flow, using dude-wheres-my-module
  • #import
  • #require
  • #autoimport
  • #dude-wheres-my-module
jedwards1211
1.2.1 2,645
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

import-it package

Automatically adds require and import statements for undeclared identifiers to Javascript and/or Flow, using dude-wheres-my-module.

Just use the ⌃⌘I shortcut in the editor for the file you want to add imports to.

For more information on customization, see https://github.com/jedwards1211/dude-wheres-my-module#configuration

Screenshot

Troubleshooting

You can view the imports server log file with the Import It: Open imports server log file command. If the server seems to be messed up, you can stop it with the Import It: Stop imports server or Import It: Hard kill imports server commands.

You can also install the dude-wheres-my-module package and use its CLI commands in your project directory. For example if you run dude wheres React and it responds with import * as React from 'react', but this extension isn't working, there may be a bug in this extension.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by