Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ChristianKohler/NpmIntellisense
Visual Studio Code plugin that autocompletes npm modules in import statements
https://github.com/ChristianKohler/NpmIntellisense
Last synced: about 2 months ago
JSON representation
Visual Studio Code plugin that autocompletes npm modules in import statements
- Host: GitHub
- URL: https://github.com/ChristianKohler/NpmIntellisense
- Owner: ChristianKohler
- License: mit
- Created: 2016-04-18T15:37:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-07T18:22:26.000Z (12 months ago)
- Last Synced: 2024-05-02T05:36:08.732Z (5 months ago)
- Language: TypeScript
- Size: 1.33 MB
- Stars: 153
- Watchers: 5
- Forks: 41
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Npm Intellisense
Visual Studio Code plugin that autocompletes npm modules in import statements.
![auto complete](/images/auto_complete.gif)
## Installation
In the command palette (cmd-shift-p) select Install Extension and choose npm Intellisense.
![install](/images/npm_install.gif)
## Contributing
Something missing? Found a bug? - Create a pull request or an issue.
[Github](https://github.com/ChristianKohler/NpmIntellisense)## Features
### Import command
![import command](/images/importcommand.gif)
```javascript
{
"npm-intellisense.importES6": true,
"npm-intellisense.importQuotes": "'",
"npm-intellisense.importLinebreak": ";\r\n",
"npm-intellisense.importDeclarationType": "const",
}
```### Import command (ES5)
![import command](/images/require_withname.gif)
```javascript
{
"npm-intellisense.importES6": false,
"npm-intellisense.importQuotes": "'",
"npm-intellisense.importLinebreak": ";\r\n",
"npm-intellisense.importDeclarationType": "const",
}
```### Scan devDependencies
Npm intellisense scans only dependencies by default. Set scanDevDependencies to true to enable it for devDependencies too.
```javascript
{
"npm-intellisense.scanDevDependencies": true,
}
```### Show build in (local) libs
Shows build in node modules like 'path' of 'fs'
```javascript
{
"npm-intellisense.showBuildInLibs": true,
}
```### Lookup package.json recursive
Look for package.json inside nearest directory instead of workspace root. It's enabled by default.
```javascript
{
"npm-intellisense.recursivePackageJsonLookup": true,
}
```### Experimental: Package Subfolder Intellisense
Open subfolders of a module.
This feature is work in progress and experimental.```javascript
{
"npm-intellisense.packageSubfoldersIntellisense": false,
}
```## License
This software is released under [MIT License](http://www.opensource.org/licenses/mit-license.php)