How to make PyCharm always show line numbers

Kimvais picture Kimvais · Apr 17, 2012 · Viewed 106.2k times · Source

I cannot seem to be able to find the setting to enable line numbers for all files, but I have to always right click and enable this on per file basis.

There must be a global setting for this, right?

Answer

BluesRockAddict picture BluesRockAddict · Apr 17, 2012

Version 2.6 and above:
PyCharm (far left menu) -> Preferences... -> Editor (bottom left section) -> General -> Appearance -> Show line numbers checkbox

enter image description here

Version 2.5 and below:
Settings -> Editor -> General -> Appearance -> Show line numbers checkbox