This package provides the following services:
autocomplete-js-import
Autocomplete+ provider for JS import statements
Autocompletes ES6 or CommonJS (node) style import statements with relative file matching, full project fuzzy file matching or packages found in package.json
.
By default, plugin will only allow autocompletion in the form of relative paths:
New Fuzzy matching (disabled by default)
Additional features
- When project dependencies autocompletion is enabled, every root
package.json
is watched for changes - Autocomplete hidden (dot) files (disabled by default)
- Automatically remove unnecessary extensions (e.g.
./index.js
=>./index
)
TODO / Known Issues
- Fuzzy pattern matching doesn't work with files added/removed after project is added
- Attempting to fuzzy search with slashes or periods inserts suggestion incorrectly
- If it wasn't compatible with Windows before, it sure isn't now (Unix path specific code)