使用sublime時由於經常要在ie chrome firefox等瀏覽器中預覽,所以很有必要設置多個瀏覽器預覽
步驟:
(1)安裝SideBarEnhancements插件(用sublime的應該都知道)
(2)安裝好以后點擊工具欄的 preferences > package setting > side bar > Key Building-User鍵入以下代碼
[
{ "keys": ["f1"],
"command": "side_bar_files_open_with",
"args": { "paths": [], "application": "C:/Program Files/Internet Explorer/iexplore.exe", "extensions": ".*" }
},
{ "keys": ["f2"],
"command": "side_bar_files_open_with",
"args": { "paths": [],"application": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe","extensions": ".*" }
},
{ "keys": ["f3"],
"command": "side_bar_files_open_with",
"args": { "paths": [], "application": "D:\\安裝地\\瀏覽器\\firefox\\firefox.exe", "extensions": ".*" }
}
]
(3)說明: 注意自己瀏覽器的安裝位置就ok了
