Path IntellisenseVisual Studio Code plugin that autocompletes filenames. InstallationIn the command palette (cmd-shift-p) select Install Extension and choose Path Intellisense. To use Path Intellisense instead of the default autocompletion, the following configuration option must be added to your settings:
UsageNode packages intellisenseUse npm intellisense ContributingSomething 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 https://github.com/ChristianKohler/NpmIntellisense/issues/12 Add this to the keybinding:
TsConfig supportBaseUrlPathintellisense 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:
would allow to type:
You can disable this behaviour by setting it to true:
SettingsFile extension in import statementsPath Intellisense removes the file extension by default if the statement is a import statement. To enable file extensions set the following setting to true:
Show hidden filesPer default, hidden files are not displayed. Set this to true to show hidden files.
If set to false, PathIntellisense ignores the default "files.exclude" as well:
Auto slash when navigating to folderPer default, the autocompletion does not add a slash after a directory.
Automatically trigger next suggestionWhen a suggestion was selected, the next suggestion will automatically pop up. This setting will override the
Absolute pathsPer default, absolute paths are resolved within the current workspace root path. Set it to false to resolve absolute paths to the disk root path.
MappingsDefine custom mappings which can be useful for using absolute paths or in combination with webpack resolve options.
Use ${workspaceFolder} when the path should be relative to the current root of the current project. V2.2.1 and lower used ${workspaceRoot}. Newer version support both placeholders. HistorySee changelog LicenseThis software is released under MIT License |