How to make PyCharm always show line numbers

后端 未结 7 1965
梦如初夏
梦如初夏 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:50

    Using Search bar

    1. Press 2 times Shift
    2. Paste /editor /appearance/ and then
    3. Click on Show line numbers toggle button

    For Windows and Linux

    File | Settings | Editor | General | Appearance 
    

    For macOS

    IntelliJ IDEA | Preferences | Editor | General | Appearance 
    

    Using shortcut

    Ctrl+Alt+S
    

    Then

    Editor > General > Appearance

    Click on Show line numbers toggle button.


    Pycharm Official Doc (Appearance)

提交回复
热议问题