Visual Studio Code plugin that autocompletes JavaScript / TypeScript modules in import statements.
This plugin was inspired byNpm Intellisense andAutoFileName.
Launch VS Code Quick Open (⌘+P), paste the following command, and press enter.
ext install node-module-intellisense
View detail on Visual Studio Code Marketplace
If there is any bug, create a pull request or an issue please.Github
Node.js Module Intellisense scans builtin modules, dependencies, devDependencies and file modules by default. Set scanBuiltinModules, scanDevDependencies and scanFileModules to false to disable it.
{ // Scans builtin modules as well "node-module-intellisense.scanBuiltinModules": true, // Scans devDependencies as well "node-module-intellisense.scanDevDependencies": true, // Scans file modules as well "node-module-intellisense.scanFileModules": true, // File module extensions "node-module-intellisense.fileModuleExtensions": [ ".js", ".jsx", ".ts", ".d.ts", ".tsx", ".vue", ".json" ], }
ts-node/register
(issue #4) export ... from ...
statement (issue #1) /// <reference...
comment (issue #2) .d.ts
file problem (issue #3) HTML
.vue
and .json
to default .vscodeignore
MIT License Copyright (c) 2016 Zongmin Lei <leizongmin@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.