- Adds support for conditional path mappings
"path-autocomplete.pathMappings": {
"$root": {
"conditions": [
{
"when": "**/packages/math/**",
"value": "${folder}/packages/math"
},
{
"when": "**/packages/ui/**",
"value": "${folder}/packages/ui"
}
]
}
},
- Adds support for regex modifiers on the replace transformation. Fixes #118
- Adds support for the
inputReplace
transformation type. Fixes #118
- Adds support for language specific configurations. Fixes #123
- Removes the need for the trailing slash in the path mappings folders. Fixes #111
- Removes dependency on the native path and process node modules
- Adds support for the relativeFileDirname variable in the path mappings. Fixes #94
- Adds support for the
useSingleBackslash
preference. Fixes #57 - Implements the auto detection of the
useBackslash
flag, fixes #112 - Updates the activation events to use
onStartupFinished
, fixes #114
- Normalizes the path when using the VS Code for Web from Windows
- Adds support for VS Code for Web
- Fixes the extension loading on remote ssh #108
- Updates the completion label to be consistent with insertText
- Fix: asar file is recogonized as directory
- Upgrade dependencies
- integrate some useful front end tools: eslint, prettier
- optimize dotfiles, settings.json, launch.json
- fix #100
- remove npm package suggestion because VSCode has builtin support
- code style and performance optimizations
Adds support for partial paths.
Previously the completions were only generated if the path inserted by the user
was a valid folder on the disk.
Starting with this version partial paths are suppored as well.
Examples:
./tmp/folder1/ -- generates suggetions
./tmp/fol -- generates suggetions for ./tmp/ and filters out items that don't start with fol
This feature fixes: #87
Added new option path-autocomplete.disableUpOneFolder
. Fixes #89
By default it's set to true
.
Added new rules for the excludedItems option. Stating with this version we can now do things like:
"path-autocomplete.excludedItems": {
"**": { "when": "**", "isDir": true }, // always ignore `folder` suggestions
"**/*.js": { "when": "**", "context": "import.*" }, // ignore .js file suggestions in all files when the current line matches the regex from the `context`
}
Added new option path-autocomplete.ignoredPrefixes
. Fixes #81
Moved the change log from the readme file to the CHANGELOG.md
file.
resolve #72 - include require
in the "extensionOnImport" preference
Fixes the completion items for json files. Fixes #47
Fixes the mapping conflict with the node modules. Fixes #30.
Fixes the mapping of keys with the same prefix.
Adds the path-autocomplete.ignoredFilesPattern
option to disable the extension on certain file types.
Example configuration:
"path-autocomplete.ignoredFilesPattern": "**/*.{css,scss}"
Adds the path-autocomplete.useBackslash
option to enable the use of \\
for windows paths.
Adds the path-autocomplete.pathSeparators
option to control the separators when
inserting the path outside strings.
- Updates the behavior of
extensionOnImport
to be taken into account only on import statements line. - Adds the
path-autocomplete.includeExtension
option to control the extension on standard paths. (#45) - Fixes the completion kind for folders and files (#43)
- Adds support for merging multiple folders in the path mappings configuration
"path-autocomplete.pathMappings": {
"$root": ["${folder}/p1/src", "${folder}/p2/src"]
}
- Adds
{
and[
as separators for the current path
- Fixes the handing of the path outside strings for markdown links
[](./)
- Added support for multi root vscode folders via the
${folder}
variable in pathMappings
- Adds support for redefining the root folder via the pathMappings with the
$root
special key.
- Adds the
path-autocomplete.enableFolderTrailingSlash
option
- Adds support for path autocomplete outside strings.
Available via
path-autocomplete.triggerOutsideStrings
- Improves the support for node_modules lookup. #15
- Adds support for custom transformation
- Adds support for custom user mappings
- Fixes the extension trimming for folders. Fixes #6
- Adds support for the trailing slash functionality. Fixes #5
- Adds support for path autocomplete inside backticks. Fixes #3
- Added option to exclude files
- Initial release