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

alias-path

0851

|
148 installs
| (0) | Free
vscode alias path go to definition
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-alias-path

中文|English

command + left click 跳转到文件 ,支持别名

参数

setting

{
  "aliaspath.alias": {
    "type": "object",
    "default": {
      "@": "${cwd}/src",
      "~": "${cwd}/src",
      "~~": "${cwd}/newsrc"
    },
    "description": "你可以使用${cwd}代表当前工作目录的绝对路径"
  },
  "aliaspath.activeLanguages": {
    "type": [
      "array",
      "object",
      "string"
    ],
    "default": {
      "pattern": "**"
    },
    "description": "支持激活语言"
  },
  "aliaspath.configFile": {
    "type": "string",
    "default": ".aliaspath.json",
    "description": "项目根目录下的配置文件"
  },
  "aliaspath.maxDependFileSize": {
    "type": "number",
    "default": 2,
    "description": "依赖文件最大大小 MB"
  },
  "aliaspath.allowedIgnoreExt": {
    "type": "array",
    "default": [
      "js",
      "ts",
      "tsx",
      "jsx",
      "vue"
    ],
    "description": "允许忽略的扩展名列表"
  }
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft