Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>alias-toolNew to Visual Studio Code? Get it now.
alias-tool

alias-tool

dgeibi

|
1,265 installs
| (1) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

alias-tool

Features

  1. scss: @(import|use|forward) "@alias/path"; and url(@alias/path.png) go to definition / links
  2. css: @import "@alias/path"; and url(@alias/path.png) go to definition / links
  3. js / ts: import "@alias/path.png" go to definition
  4. fix .png?query go to definition

Extension Settings

alias-tool.mappings:

{
    "alias-tool.mappings": {
        "app": "${folder}/frontend/app",
        "@client": "${folder}/frontend/app",
        "~@client": "${folder}/frontend/app"
    }
}

Supported variables:

Name Description
${folder} The root folder of the current file
${workspace} The root folder of the current workspace

See also

  • use Path Autocomplete for autocomplete

Acknowledgements

  • https://github.com/mihai-vlc/path-autocomplete
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft