使用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了
时间: 2024-10-11 00:33:24