How do I turn on line numbers permanently in IntelliJ 14?

33,919

Solution 1

Permanently (Ubuntu):

File > Settings > Editor > General > Appearance > Show Line Numbers

enter image description here

For just the current editor: View > Active Editor > Show Line Numbers

enter image description here

Solution 2

You can do it even faster, using the Search Everywhere tool (press Shift twice): type "Show Line Numbers" (or even "line") and the top hit is the switch for permanent line numbers. Enable Line Numbers

There are 2 switches for line numbers, one that has a On/Off switch and works globally, and one without the switch - for the current file. And one more for the Active Editor (current file).

enter image description here

Solution 3

Go to Settings/Editor/General/Appearance and enable Show line numbers to permanently show line numbers for all editors.

The solution with View > Active Editor > Show Line Numbers seems to work only for the active editor (when you close the current tab or open a new file you have to enable it again).

Solution 4

Go to Preferences > Editor > Appearance, and select the Show line numbers check box.

It will turn on the line numbers permanently.

Solution 5

Just right click and enable Lines in Windows. For more info check this link.

enter image description here

Share:
33,919
JBaczuk
Author by

JBaczuk

Connect with me on LinkedIn! Happy to chat further: https://www.linkedin.com/in/jordanbaczuk/ Software Engineering Careers: TaskGrid Development services: burstware.com

Updated on February 04, 2020

Comments