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.
相关问题
- Where are Automatic Type Acquisition typescript de
- How to connect PhpStorm with Xdebug
- Compiler error-Possible IDE error“undefined refere
- How to use a “custom jar” in IntelliJ IDEA?
- Double click to select white space in PhpStorm
Just now found where is it on Windows. Its
View
->Active Editor
->Show Line Numbers
(changes only for current document) andFile
->Settings
->Editor
->Appearance
->Show Line Numbers
(for all documents)For Mac Version go to
PhpStorm
->Preferences
in menu. In the preference window go toIDE 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
By typing
command + shift + A
you will get a search prompt and writeline numbers
. Now you can trigger buttonon or off
You should go to: File -> Settings -> Editor -> General -> Appearance -> Show Line Numbers
just double tap 'Shift'
and search for 'Line Numbers'
and there you will see a toggle option on or off
In PHPStorm 8 this setting is no longer under 'Appearance' but now in:
File -> Settings -> Editor -> Appearance -> Show line numbers
Settings
(orPreferences
if you are on Mac) |Editor
|General
|Appearance
and checkShow line numbers
.