Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I show line numbers in CLion IDE?

I have tried to read and follow the directions for PyCharm and IntelliJ to enable this feature, but their settings menus do not seem to be the same as CLion's.

like image 625
zxgear Avatar asked Jul 12 '15 13:07

zxgear


People also ask

How do I display line numbers in idle?

To show line numbers in the current window, go to Options and click Show Line Numbers. To show them automatically, go to Options > Configure IDLE > General and check the Show line numbers in new windows box. Unfortunately there is not an option to display line numbers in IDLE although there is an enhancement request open for this.

How do I show line numbers in the current window?

To show line numbers in the current window, go to Options and click Show Line Numbers. To show them automatically, go to Options > Configure IDLE > General and check the Show line numbers in new windows box.

How do I display or hide line numbers in my code?

You can display or hide line numbering in your code. Display line numbers in code. On the menu bar, choose Tools > Options. Expand the Text Editor node, and then select either the language you're using or All Languages to turn on line numbers in all languages.

How do I show line numbers in the text editor?

You can right click on the left of the editor (that is right to the left of the leftmost position possible for the cursor) and a menu will appear with the option of showing line numbers. Is this what you were asking? File->Settings->Editor->General->Appearance.


1 Answers

You can right click on the left of the editor (that is right to the left of the leftmost position possible for the cursor) and a menu will appear with the option of showing line numbers. Is this what you were asking?

EDIT : You can also enable this behaviour by checking "Show line numbers" under

File->Settings->Editor->General->Appearance.
like image 172
Kostas Sakellaridis Avatar answered Sep 28 '22 16:09

Kostas Sakellaridis