Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make PyCharm always show line numbers

People also ask

How do I turn on line numbers in Python?

Another way to see the line numbers is in the Options menu. First, you have to go to Options on the current window. Under Options , choose Configure Idle , then choose General and finally check Show line numbers in the new windows box.

How do I show indent lines in PyCharm?

Go to Settings/Editor/General/Appearance and select Show vertical indent guides to enable this feature in IntelliJ.


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


For version 4.0, 4.5 on Windows

File -> Settings

Then,

Editor -> General -> Appearance -> Show line numbers

For version 4.0 on Mac OSX

PyCharm-->Preferences

Then,

Editor-->General-->Appearance-->checkbox: "Show line numbers"


For version 3.0 (Community Edition):

File -> Settings -> Editor (under IDE Settings) -> Appearance -> check 'Show line numbers'


PyCharm Version 3.4.1(For all files in the project):

File -> Preferences -> Editor (IDE Settings) -> Appearance -> mark 'Show line numbers'

PyCharm Version 3.4.1(only for existing file in the project):

View -> Active Editor -> Show Line Numbers

image


For version 2.6 and up, the dialog is in the "Preferences" dialog, access using Cmd ',':

PyCharm (far left menu) -> Preferences... -> Editor (bottom left section) -> Appearance -> Show line numbers checkbox