Injects module require statements with the correct relative require path
Drag & drop from the tree view
Right click from the tree view
Using the hotkey ctrl-alt-r
Right click in the editor
package.json
dependenciesfs
, path
etc.require
or import
) from the active file contentsOption | Defaults | Description |
---|---|---|
Omit File Extensions | "js", "jsx" | Omit the extension from the require path for these file types |
Exclude Directories | "^\.", "node_modules", "bower_components" | Exclude these directories from the module search |
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.