How to make PyCharm always show line numbers

后端 未结 7 1966
梦如初夏
梦如初夏 2021-01-29 22:25

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 mu

7条回答
  •  南方客
    南方客 (楼主)
    2021-01-29 22:33

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

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

提交回复
热议问题