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.
Follow the below steps:
In PHPStorm 2016: File > Settings > Editor > General > Appearance > check "Show line numbers"
By typing command + shift + A you will get a search prompt and write line numbers . Now you can trigger button on or off

File->settings->IDE Settings->Editor->Appearance
And just check the "Show line numbers" works with 8.0.1
File -> Settings -> Editor -> General -> Appearance check "Show Line Numbers"
This is the current location as of phpStorm 8.0.2 on Ubuntu 14.04
You should go to: File -> Settings -> Editor -> General -> Appearance -> Show Line Numbers