Search code examples
user-interfaceintellij-ideapycharmphpstormline-numbers

Make Distraction Free mode show line numbers in Pycharm/Intellij


Like the title suggests, when I use Distraction Free mode in PyCharm or Intellij I cannot see the line numbers, even though I have ticked the "line numbers" box in the settings. Is there a way to make the line numbers appear on Distraction Free mode?

I'm using Linux (Ubuntu) if that helps (I saw a Mac picture where lines were being showed in Distraction Free mode) and my PyCharm version is 2016.2.3.


Solution

  • Showing the line numbers is independently configurable in distraction-free mode and regular mode.

    While in distraction-free mode right-click somewhere close to the left-side of the editor window to see a short menu which contains the Show Line Numbers option:

    enter image description here