sublime Text3设置多个浏览器预览

来源:互联网 发布:淘宝图片空间一键删除 编辑:程序博客网 时间:2024/06/06 23:15

使用sublime时由于经常要在ie chrome firefox等浏览器中预览,所以很有必要设置多个浏览器预览

步骤

  • 安装SideBarEnhancements插件(用sublime的应该都知道)

  • 安装好以后点击工具栏的 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": ".*" } } ]
  • 说明: 注意自己浏览器的安装位置就ok了
原创粉丝点击