Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

dgeibi/alias-tool

Repository files navigation

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

Acknowledgements

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /