最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

sublime text3 快速在浏览器中打开

业界 admin 6浏览 0评论

在sublime text 中,快速在浏览器中打开文件

1.在文件中点击右键 view in borwser (前提是先安装view in browser插件)

设置ctrl+b在浏览器中快速打开

步骤:Preferences  ==>   Key bindings

  {"keys":["ctrl+b"], "command":"side_bar_files_open_with"},

2.SideBarEnhancements 插件

此插件不仅加强了左侧栏的功能,还可以自定义不同浏览器中预览的快捷键,配置格式如下:

设置各自打开的快捷方式

// chrome
{
   "keys":["f12"], "command":"side_bar_files_open_with",
   "args":{
      "paths":[],
      "application":"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
      "extensions":".*"
   }
},
//firefox
{
   "keys":["ctrl+f12"], "command":"side_bar_files_open_with",
   "args":{
      "paths":[],
      "application":"D:/Program Files/Mozilla Firefox/firefox.exe",
      "extensions":".*"
   }
}

以上为路径的两种表示方式


在sublime text 中,快速在浏览器中打开文件

1.在文件中点击右键 view in borwser (前提是先安装view in browser插件)

设置ctrl+b在浏览器中快速打开

步骤:Preferences  ==>   Key bindings

  {"keys":["ctrl+b"], "command":"side_bar_files_open_with"},

2.SideBarEnhancements 插件

此插件不仅加强了左侧栏的功能,还可以自定义不同浏览器中预览的快捷键,配置格式如下:

设置各自打开的快捷方式

// chrome
{
   "keys":["f12"], "command":"side_bar_files_open_with",
   "args":{
      "paths":[],
      "application":"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
      "extensions":".*"
   }
},
//firefox
{
   "keys":["ctrl+f12"], "command":"side_bar_files_open_with",
   "args":{
      "paths":[],
      "application":"D:/Program Files/Mozilla Firefox/firefox.exe",
      "extensions":".*"
   }
}

以上为路径的两种表示方式


发布评论

评论列表 (0)

  1. 暂无评论