Path Sense
A fast, context-aware Visual Studio Code extension for intelligent path and folder autocompletion.

Features
- Smart Path Autocompletion: Seamlessly suggests relative and root paths as you type.
- Path Alias Resolution: Supports custom alias mappings (e.g.,
@/ or ~/).
- Flexible Exclusion Filters: Exclude heavy or irrelevant directories like
node_modules and .git from search results.
Extension Settings
Tailor Path Sense to your workflow using the following settings in your settings.json:
{
"pathSense.enableAliases": true,
"pathSense.aliasMappings": {
"@": "./src/"
},
"pathSense.excludedFolders": ["node_modules", ".git", "dist"]
}
Configuration Options
Tailor Path Sense to your workflow using the following settings:
| Setting |
Type |
Default |
Description |
pathSense.enableAliases |
boolean |
true |
Enable or disable path alias resolution (e.g., mapping @ to src). |
pathSense.aliasMappings |
object |
{'@': './src/'} |
Map custom alias prefixes to workspace paths. |
pathSense.excludedFolders |
array |
["node_modules", ".git", "dist"] |
List of folder names or patterns to exclude from completion suggestions. |
Requirements
No external dependencies required. Works out of the box with standard VS Code workspace setups.
Roadmap
Mini Image Previews: Visual previews for image assets directly within the completion menu.
Autoload tsconfig.json / jsconfig.json: Automatic detection and mapping of paths defined in project configuration files.
Contributing
Contributions, feature requests, and bug reports are warmly welcomed!
Please feel free to open an issue or submit a pull request on GitHub.
See CONTRIBUTING.md for local development and setup guidelines.
License
Distributed under the MIT License.