How can I permanently enable line numbers in Intel

2019-01-09 21:12发布

How can I permanently enable line numbers in IntelliJ IDEA?

19条回答
仙女界的扛把子
2楼-- · 2019-01-09 21:45

There's another way, and even quicker (works for me in version 10.5)

Simply right click on the place where the line-numbers should be, and there you'll see a small menu.

then, mark the "Show Line Numbers" option.

enter image description here

Please note that this only works on a per-file basis, however. Enjoy.

查看更多
相关推荐>>
3楼-- · 2019-01-09 21:45

1st way: Go to View => Active Editor => show line numbers

enter image description here

2nd way Go to Android Studio => Preferences => Editor=> Appearance => set Checked "Show Line Numbers"

enter image description here

enter image description here

查看更多
我只想做你的唯一
4楼-- · 2019-01-09 21:46

Just an update for Android Studio 1.5.1 on Windows:

Go to File -> Settings -> follow picture enter image description here

查看更多
别忘想泡老子
5楼-- · 2019-01-09 21:47

IntelliJ 14.X Onwards

From version 14.0 onwards, the path to the setting dialog is slightly different, a General submenu has been added between Editor and Appearance as shown below

enter image description here

IntelliJ 8.1.2 - 13.X

From IntelliJ 8.1.2 onwards, this option is in File | Settings1. Within the IDE Settings section of that dialog, you'll find it under Editor | Appearance.

  1. On a Mac, these are named IntelliJ IDEA | Preferences...

enter image description here

查看更多
等我变得足够好
6楼-- · 2019-01-09 21:47

For 9.0.4

File > Settings

In the tree view group

------------IDE Settings ---------

Click the Editor [+]

Select Appearance... Its there.

查看更多
地球回转人心会变
7楼-- · 2019-01-09 21:48

On IntelliJ IDEA 2016.1.2

Go to Settings > Editor > General > Appearance then check the Show Line number option

enter image description here

查看更多
登录 后发表回答