Increase code font size in firefox developer tool

前端 未结 11 1902
别跟我提以往
别跟我提以往 2021-01-30 03:07

How to increase code fonts in Firefox developer tools? I know that there is a zoom function but I want to set the font size only for the code.

11条回答
  •  借酒劲吻你
    2021-01-30 03:27

    So sure, as stated before, the short answer is cmd++.

    But the + sign might not be directly accessible on your keyboard (no numeric key pad, laptop, strange layout).
    You then have to press maj first to access the + sign, like, for example on the american keyboard layout: maj+=.
    Unfortunately, even if you are correctly focused on the dev tool pane, cmd+maj+= increases the font of the web view pane, while cmd+- decreases the font on the dev tool pane.
    And you end-up with a web tool pane with a font size so small that it is unreadable, and no way to increase it.

    Then @Thal's answer comes handy, once focused to the dev tool pane cmd+0 resets the dev tool's font size to the original.

    If you want to answer the question like @Timothy_Truckle is asking for, here are a couple of them (still focus on the dev tool pane, of course):

    • switch to the US keyboard layout and press cmd+=
    • find a keyboard layout with the + directly accessible, switch to it, and press cmd++

    That's for you guys wondering why some find it hard to simply press cmd++ or why some find it hard to focus on the dev tool pane (because they actually focus on the dev tool pane, but the result is as if they were focused on the web view pane).

提交回复
热议问题