前端 - mac版的sublime text 如何绑定快捷键,快速在Google Chrome中打开html文件?

查看:144
本文介绍了前端 - mac版的sublime text 如何绑定快捷键,快速在Google Chrome中打开html文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

装的黑苹果,右键的open in browser 可以用,但只能在默认浏览器中打开,想用谷歌浏览器打开,求指导
这样写的不管用

[
    { "keys": ["super+shift+b"], "command": "side_bar_files_open_with",
        "args": {
            "paths": [],
            "application": "/应用程序/Google Chrome.app",
            "extensions":".*"
        }
    }
]

解决方案

{
  "caption": "Chrome",
  "id": "side-bar-files-open-with-chrome",
  "command": "side_bar_files_open_with",
  "args": {
    "paths": [],
    "application": "/Applications/Google Chrome.app",
    "extensions":".*", //any file with extension
    "args":[]
  },
  "open_automatically" : false // will close the view/tab and launch the application
},

这篇关于前端 - mac版的sublime text 如何绑定快捷键,快速在Google Chrome中打开html文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆