sublime Text3 設置多個瀏覽器預覽

使用sublime時因爲常常要在ie chrome firefox等瀏覽器中預覽,因此頗有必要設置多個瀏覽器預覽

步驟:

(1)安裝SideBarEnhancements插件(用sublime的應該都知道)javascript

(2)安裝好之後點擊工具欄的     preferences > package setting > side bar > Key Building-User鍵入如下代碼java

[ 
{ "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了chrome

相關文章
相關標籤/搜索