Visual Studio Code plugin that autocompletes filenames
Switch branches/tags
Nothing to show
Clone or download
ChristianKohler Merge pull request #78 from Graham42/support_jsconfig
Allow baseUrl to be specified in jsconfig.json
Latest commit 2ff1ac9 Jul 10, 2017

Path Intellisense

Visual Studio Code plugin that autocompletes filenames.


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



Node packages intellisense

Use npm intellisense


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

Are you a windows user?

There is an issue on windows with the period key. See Issue

Add this to the keybinding:

{ "key": ".", "command": "" }

TsConfig support


Pathintellisense uses the ts.config.compilerOptions.baseUrl as a mapping. So no need to define it twice. There is no support for paths at the moment.

For example:

	"baseUrl": "src",

would allow to type:

	import {} from 'src/mymodule';


File extension in import statements

Path Intellisense removes the file extension by default if the statement is a import statement. To enable file extensions set the following setting to true:

	"path-intellisense.extensionOnImport": true,

Show hidden files

Per default, hidden files are not displayed. Set this to true to show hidden files.

	"path-intellisense.showHiddenFiles": true,

If set to false, PathIntellisense ignores the default "files.exclude" as well:

	"files.exclude": {
		"**/*.map.js": true

Auto slash when navigating to folder

Per default, the autocompletion does not add a slash after a directory.

	"path-intellisense.autoSlashAfterDirectory": false,

Absolute paths

Per default, absolute paths are resolved within the current workspace root path. Set it to false to resolve absolute paths to the disk root path.

	"path-intellisense.absolutePathToWorkspace": true,


Define custom mappings which can be useful for using absolute paths or in combination with webpack resolve options.

	"path-intellisense.mappings": {
		"/": "${workspaceRoot}",
		"lib": "${workspaceRoot}/lib",
		"global": "/Users/dummy/globalLibs"

Use ${workspaceRoot} when the path should be relative to the current root of the current project.


See changelog


This software is released under MIT License