How to make phpstorm display line numbers by default?

前端 未结 19 1829
盖世英雄少女心
盖世英雄少女心 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:57

    As of the latest version:

    PhpStorm > Preferences.. > Editor > General > Appearance > Show line numbers

    0 讨论(0)
  • 2020-12-22 19:03

    All the guys are right. I am just bringing the the current soultion with the images.

    1. Go to File-> Settings

    enter image description here

    1. In the box in the top right corner type in line numbers, just below that choose Editor->Appearance, from the right checkboxes, find Show line numbers and check it.

    2. After that hit Apply and OK

    enter image description here

    That should do the trick.

    My version of PhpStorm is 6.0.3

    0 讨论(0)
  • 2020-12-22 19:03

    Simplest solution for line numbers in php storm..There are many other solutions but i think A big picture a good from 1000 words.

    0 讨论(0)
  • 2020-12-22 19:06

    just double tap 'Shift'
    and search for 'Line Numbers'
    and there you will see a toggle option on or off

    0 讨论(0)
  • 2020-12-22 19:07

    In PHPStorm 8 this setting is no longer under 'Appearance' but now in:

    File -> Settings -> Editor -> Appearance -> Show line numbers

    0 讨论(0)
  • 2020-12-22 19:08

    Settings -> editor | appearance | Show line numbers

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