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 Answers
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.
Red dot on the screenshot is a place where you have to click
All the guys are right. I am just bringing the the current soultion with the images.
- Go to
File
->Settings
In the box in the top right corner type in
line numbers
, just below that chooseEditor
->Appearance
, from the right checkboxes, findShow line numbers
and check it.After that hit
Apply
andOK
That should do the trick.
My version of PhpStorm is 6.0.3