Skip to content

Visual Studio Code plugin that autocompletes npm modules in import statements

License

Notifications You must be signed in to change notification settings

ChristianKohler/NpmIntellisense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bc5521b · Oct 7, 2023

History

68 Commits
Dec 6, 2021
Jul 19, 2021
Feb 8, 2017
Jun 9, 2022
Jun 9, 2022
Nov 29, 2021
Feb 11, 2022
Apr 18, 2016
Jul 19, 2021
Apr 18, 2016
Oct 7, 2023
Dec 19, 2022
Oct 7, 2023
Nov 26, 2021

Repository files navigation

Npm Intellisense

Visual Studio Code plugin that autocompletes npm modules in import statements.

auto complete

Installation

In the command palette (cmd-shift-p) select Install Extension and choose npm Intellisense.

install

Contributing

Something missing? Found a bug? - Create a pull request or an issue. Github

Features

Import command

import command

{
	"npm-intellisense.importES6": true,
	"npm-intellisense.importQuotes": "'",
	"npm-intellisense.importLinebreak": ";\r\n",
	"npm-intellisense.importDeclarationType": "const",
}

Import command (ES5)

import command

{
	"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.

{
	"npm-intellisense.scanDevDependencies": true,
}

Show build in (local) libs

Shows build in node modules like 'path' of 'fs'

{
	"npm-intellisense.showBuildInLibs": true,
}

Lookup package.json recursive

Look for package.json inside nearest directory instead of workspace root. It's enabled by default.

{
	"npm-intellisense.recursivePackageJsonLookup": true,
}

Experimental: Package Subfolder Intellisense

Open subfolders of a module. This feature is work in progress and experimental.

{
	"npm-intellisense.packageSubfoldersIntellisense": false,
}

License

This software is released under MIT License

About

Visual Studio Code plugin that autocompletes npm modules in import statements

Resources

License

Stars

Watchers

Forks

Packages

No packages published