1. 程式人生 > >Sublime Text 3 如何設定對應瀏覽器檢視的快捷鍵

Sublime Text 3 如何設定對應瀏覽器檢視的快捷鍵

1.首先安裝BracKetHighlighter外掛ctrl+shift+p 開啟命令框。
2.輸入Install Package 開啟安裝包之後,輸入外掛名BracketHighlighter
3.安裝完成之後開啟Preferences – Package Settings – BracketHighlighter – key Bindings-User
配置快捷鍵

[
    //配置方法:
    /*
    {
        "keys":["f12"],
        "command":"side_bar_files_open_with",
        "args
":{ "paths":[], "application":"瀏覽器位置", "extensions":".*" } } */ //按f12用火狐瀏覽器開啟 { "keys":["f12"], "command":"side_bar_files_open_with", "args":{ "paths":[], "application":"d:\\firefox\\firefox.exe"
, "extensions":".*" }
}, //按ctrl+f12用谷歌瀏覽器開啟 { "keys":["ctrl+f12"], "command":"side_bar_files_open_with", "args":{ "paths":[], "application":"d:\\Chrome\\Chrome.exe", "extensions":".*" } } ]