括号现场预览为Mozilla Firefox的开发者版本 [英] brackets live preview for mozilla firefox developer edition
问题描述
目前在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屋!