brackets live preview for mozilla firefox developer edition

≯℡__Kan透↙ 提交于 2019-11-30 02:36:16

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.

Use File->Enable Experimental Live Preview. See documentation here https://github.com/adobe/brackets/issues/12260

  1. Open Brackets.
  2. On the top-bar menu click on "Debug".
  3. On the drop down click on "Open Preferences File".
  4. It will open two files "brackets.json" and "defaultPreferences.json".
  5. Add the following line to the "brackets.json" file.

    "livedev.multibrowser": true,

  6. Save the changes and reload Brackets.

  7. If you wish to make Firefox your default launch browser for brackets you will have to set it as the default browser in the browser setting and vice versa to other browsers.
  8. Happy coding :-)

If you go to Debug, Open Preferences File, Brackets says that it's a read only file. Not sure if I'm supposed to believe that or not, but I decided to. I used Windows explorer and NotePad++ to open the file directly, which can be found here:

C:\Users\<USER>\AppData\Roaming\Brackets

I added the text "livedev.multibrowser": true,, but then I had to restart Brackets for the change to take effect.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!