括号现场预览为Mozilla Firefox的开发者版本 [英] brackets live preview for mozilla firefox developer edition

查看:241
本文介绍了括号现场预览为Mozilla Firefox的开发者版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不使用Chrome浏览器。不过,Brackets总是在Chrome中显示实时预览,令人非常恼火。我如何将Mozilla Firefox Developer Edition设置为Bracket实时预览的默认值?

解决方案

目前在Mozilla Firefox上使用方括号进行实时预览(不在Developer Edition上)。我已经尝试过使用Waterfox进行实时预览,但似乎无法记住它是否工作。



不管怎样,试试这个:

然后在窗口的上部打开方括号,点击调试按钮。
在下拉菜单中点击Open Preference File。

在我的Brackets版本中(最新的版本),它会打开两个.json文件:1)defaultPreferences.json和2)brackets.json。只关注brackets.json。 (如果永远不会弹出第一个.json文件,那就好了)。

然后继续在括号内添加这一行:

livedev.multibrowser:true,



我建议把这个放在最上面的默认行。例如,它看起来像这样:

$ $ $ $ b $ $ $ $ $ $ $ $ $ $ $ $ true
fonts.fontSize:12px,
fonts.fontFamily:'SourceCodePro-Medium',MSゴック,'MS Gothic',等宽字体',
themes.theme: dark-theme
}

希望这有帮助。如果没有,我建议把它交给开发者。


I don't use Chrome browser. However, its very irritating that Brackets always shows live preview in Chrome. How can I set Mozilla Firefox Developer Edition as default for Bracket's live preview?

解决方案

Currently using Brackets to Live Preview on Mozilla Firefox (not on the Developer Edition). I've tried Live Preview on Waterfox but I can't seem to remember if it worked or not.

Anyways, try this:

Open Brackets then on the upper part of the window, click the "Debug" button. On its drop down menu click the "Open Preference File".

On my version of Brackets (which is the latest) it will open up two .json files: 1)defaultPreferences.json and 2) brackets.json. Just focus on "brackets.json". (If ever that the first .json file never pops-up, it's fine).

Then proceed to add this line inside the bracket:

"livedev.multibrowser": true,

I suggest putting this on top of the default lines. So for example, it would look like this:

 {
    "livedev.multibrowser": true,
    "fonts.fontSize": "12px",
    "fonts.fontFamily": "'SourceCodePro-Medium', MS ゴシック, 'MS Gothic', monospace",
    "themes.theme": "dark-theme"
 }

Hope this helps. If it doesn't, I suggest bringing it over to the devs.

这篇关于括号现场预览为Mozilla Firefox的开发者版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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