Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Goto FilesNew to Visual Studio Code? Get it now.
Goto Files

Goto Files

MiniFive

|
1 install
| (0) | Free
Ctrl+Click to open file paths in shell scripts
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Goto Files

VSCode 扩展:在 Shell 脚本中实现 Ctrl+左键点击文件路径跳转。

功能

  • Ctrl+左键点击:点击文件路径直接打开对应文件
  • F12 转到定义:光标放在路径上按 F12 跳转
  • 支持路径类型:
    • 绝对路径:/etc/hosts
    • 家目录路径:~/scripts/my.sh
    • 相对路径:./script.sh、../config.conf
    • 无前缀相对路径:test_1/test1.py

安装

Vscode 插件中 搜索goto files 一键安装

许可证

MIT

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