打开iTerm2的配置项 在Pointer里勾选⌘-Click opens filename/URL (semantic history) 然后切到Profiles,在Advanced里找到Semantic History,改成Open with editor,选择VS Code,然后就可以用⌘+鼠标左键的方式在VS Code里打开任何文件了。
打开iTerm2的配置项
在
Pointer
里勾选⌘-Click opens filename/URL (semantic history)
然后切到
Profiles
,在Advanced
里找到Semantic History
,改成Open with editor
,选择VS Code
,然后就可以用⌘+鼠标左键
的方式在VS Code
里打开任何文件了。