Atom autocomplete for modules.
Autocomplete for require/import statements.
Configuration
Include file extension: Include the file's extension when filling in the completion.
Vendor directories: A list of directories to search for modules relative to the project
root. (Default: node_modules
)
Webpack support: Look for webpack configuration file and add the resolve.modulesDirectories
paths to the module search scope.
Webpack configuration filename: Name of the configuration file to look for. (Default: webpack.config.js
)
Babel Plugin Module Resolver support: Look for a Babel Plugin Module Resolver configuration and use it for the autocomplete suggestions.
Troubleshooting
This package only activates if one of the following grammars/languages are being used:
- language-javascript
- language-babel
- language-coffee-script
- flow extensions
If you're using TypeScript, we suggest to use atom-typescript or ide-typescript packages, which are way better as it uses the TS-server.
If this package doesn't seem to be working, check that you are using one of these. If you want another grammar/language to be supported, please submit an issue.