Features
- scss:
@(import|use|forward) "@alias/path"; and url(@alias/path.png) go to definition / links
- css:
@import "@alias/path"; and url(@alias/path.png) go to definition / links
- js / ts:
import "@alias/path.png" go to definition
- 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
| |