【VScode自定義快捷鍵】在keybindings.json中設置複製文件的路徑、查看文件在訪達的位置、查看文件在側邊欄的位置 的快捷鍵

在這裏插入圖片描述

  • /Users/macos/Library/Application Support/Code/User/keybindings.json添加如下設置,就可以通過快捷鍵,快速複製文件的路徑、文件在訪達的位置、文件在側邊欄的位置
    {
        "key": "alt+cmd+ctrl+i", // Reveal in Side Bar
        "command": "workbench.files.action.showActiveFileInExplorer",
        "when": "textInputFocus"
    },
    {
        "key": "alt+cmd+ctrl+o", // Reveal in Finder
        "command": "revealFileInOS",
        "when": "textInputFocus"
    },
    {
        "key": "ctrl+alt+cmd+p", // Copy Path
        "command": "copyFilePath",
        "when": "textInputFocus"
    },
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章