How can I permanently enable line numbers in IntelliJ?

后端 未结 21 2460
别那么骄傲
别那么骄傲 2020-12-02 03:26

How can I permanently enable line numbers in IntelliJ IDEA?

21条回答
  •  日久生厌
    2020-12-02 04:20

    IntelliJ IDEA 15

    5 approaches


    Global change

    1. File > Settings... > Editor > General > Appearance > Show line numbers

    2. Hit Shift twice > write "line numbers" > Show Line Numbers (that one that has the toggle) > change the toggle to ON


    Change for the Active Editor

    1. Right click on the left side bar > Show Line Numbers

    2. Hit Shift twice > write "line" > Show Line Numbers (the line doesn't have the toggle)

    3. Ctrl + Shift + A > write "Show line" > Active Editor: Show Line Numbers > change the toggle to ON

提交回复
热议问题