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":".*"
        }
    }
]
阅读 4.4k
1 个回答
{
  "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
},
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题