Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>copypathNew to Visual Studio Code? Get it now.
copypath

copypath

distubwe

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

说明

一个简单的 vscode 小插件,功能是在菜单栏里加了一个复制相对路径(vue)的选项

  • 如选择 src 下的 utils 文件,则会将'@/utils'粘贴到剪切板

image

如果演示 gif 无法加载,可以到 https://gitee.com/disturbwe/copypath/blob/master/src/assets/copypath.gif 查看

  • 如果选择的文件是 vue 文件的话,会出现复制引入语句(vue)的选项,将自动切割字符串生成引入语句。

订阅方式

项目已经发布至 vscode 插件商店,在插件商店中搜索copypath即可订阅

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft