sublime text3配置html環境


1、安裝View in Browser

2、配置快捷鍵

[1]Preferences—Key Bindings—User.

[2]插入代碼
 1 [
 2 //ie
 3     {
 4         "keys": ["f2"],
 5         "command": "side_bar_files_open_with",
 6         "args": {
 7             "paths": [],
 8             "application": "C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe",
 9             "extensions": ".*"
10         }
11     },
12 //chorme
13      {
14         "keys": ["f1"],
15         "command": "side_bar_files_open_with",
16         "args": {
17             "paths": [],
18             "application": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
19             "extensions": ".*"
20         }
21     }
22 ]

 


其中“keys”是指定快捷鍵,替換成自己想要的。
application是你瀏覽器在電腦上的目錄地址,替換了就OK了。注意是雙斜杠\\。
[3]保存。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM