猿问

sublime-text3的view in browser插件,想要调试代码并不能打开浏览器

{

"posix": {

"linux": {

"firefox": "firefox -new-tab",

"chrome": "google-chrome",

"chrome64": "google-chrome",

"chromium": "chromium"

},

"linux2": {

"firefox": "firefox -new-tab",

"chrome": "google-chrome",

"chrome64": "google-chrome",

"chromium": "chromium"

},

"darwin": {

"firefox": "open -a \"/Applications/Firefox.app\"",

"safari": "open -a \"/Applications/Safari.app\"",

"chrome": "open -a \"/Applications/Google Chrome.app\"",

"chrome64": "open -a \"/Applications/Google Chrome.app\"",

"yandex": "open -a \"/Applications/Yandex.app\""

}

},

"nt": {

"win32": {

"firefox": "C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe -new-tab",

"iexplore": "C:\\Program Files\\Internet Explorer\\iexplore.exe",

"chrome": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",

"chrome64": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",

"yandex": "%Local AppData%\\Yandex\\YandexBrowser\\browser.exe"

}

},


"browser": "firefox"

}

这个是view中自带的default的设置,但是我感觉和我的电脑配置及文件安装路径有差异,但是试过修改,一直报错,不知道
正确
的要怎么弄,希望大家帮忙看看。或者是还有什么插件可以用来从sublime中打开浏览器,谢谢!


qq_天天_66
浏览 6554回答 3
3回答

MR帽子先生

首先你要确定你的文件位置没有错,其次,sublime中 view in browser 需要设定快捷键,并且快捷键不能冲突,一般都是因为快捷键冲突才打不开,希望这对你有帮助,记得给个好评哦,祝您学习愉快!
随时随地看视频慕课网APP
我要回答