/PathIntellisense

Visual Studio Code plugin that autocompletes filenames

Primary LanguageTypeScriptMIT LicenseMIT

Path Intellisense

Visual Studio Code plugin that autocompletes filenames.

Installation

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

Usage

IDE

Node packages intellisense

Use npm intellisense

Contributing

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

Settings

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,
}

Auto Slash when navigating to folder

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

{
	"path-intellisense.autoSlashAfterDirectory": false,
}

Mappings

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.

History

v1.1.0

  • [Feature] Custom Mappings #19, #5
  • [Feature] Setting to enable display of hidden files #12
  • [Bug] Fixed #11

v1.0.2

  • [Bug] Fixed #15
  • [Bug] Fixed #16

v1.0.1

  • Fixed compatibility with VS Code 1.3

v1.0.0

  • [Feature] Added .. on top of each suggestion, Removed trailing slash
  • [Bugs] Various bugs fixed

v0.2.0

  • [Feature] Remove file extension within imports (configurable)

v0.1.0

  • Added slash after folders, group by folder and files, file icon

v0.0.5

  • Fixed windows path issue

v0.0.3

  • Fixed unknown publisher issue

v0.0.2

  • Updated Readme.md

v0.0.1

  • Initial

License

This software is released under MIT License