4 September 2015

PhpStorm by default does not display line numbers. Working with version control or when debugging stuff, you usually get line number of the code where the error appears. So it would make sense that showing line numbers would be enabled by default.

  1. Open Settings or Preferences for Mac OS X from File menu.
  2. Go to Editor » General » Appearance.
  3. Check the option Show line numbers.
  4. Now you have line numbers enabled by default.