How to make phpstorm display line numbers by default?

前端 未结 19 1827
盖世英雄少女心
盖世英雄少女心 2020-12-22 18:30

How to make phpstorm display line numbers by default?
Couldn\'t find that option. It\'s kind of annoying to turn them on manually for each page.

相关标签:
19条回答
  • 2020-12-22 18:42

    Just right click on left side where line numbers generally show, select "show line numbers"

    0 讨论(0)
  • 2020-12-22 18:42

    For PhpStorm version 9 on Windows.
    FileSettingsEditorGeneralAppearence then check Show line numbers

    0 讨论(0)
  • 2020-12-22 18:45

    Just now found where is it on Windows. Its View -> Active Editor -> Show Line Numbers (changes only for current document) and File -> Settings -> Editor -> Appearance -> Show Line Numbers (for all documents)

    For Mac Version go to PhpStorm -> Preferences in menu. In the preference window go to IDE settings -> Editor -> Appearance -> Show Line Numbers (To change setting for all documents)

    OR if you want to quickly set show line number PER CURRENT WINDOW even easier - right click on the long white column (where breakpoints are set) then select Show Line Numbers.

    enter image description here

    Red dot on the screenshot is a place where you have to click

    0 讨论(0)
  • 2020-12-22 18:45

    in the top right corner is a search button type show line numbers and you will see a toggle option. this way you never have to do it yourself. :)

    0 讨论(0)
  • 2020-12-22 18:47

    If you're on a Mac:

    PhpStorm -> Preferences... -> Editor -> Appearance -> Show Line Numbers

    main menu inner menu

    0 讨论(0)
  • 2020-12-22 18:49

    On the Mac version 8.0.1 has this setting here:

    PhpStorm > Preferences > Editor (this is in the second section on the left - i.e. IDE Settings NOT Project Settings) > Appearance > Show line numbers

    0 讨论(0)
提交回复
热议问题