How can I permanently enable line numbers in IntelliJ?
我如何在IntelliJ IDEA中永久启用行号?
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
IntelliJ 8.1.2 - 13.X
From IntelliJ 8.1.2 onwards, this option is in File | Settings 1. Within the IDE Settings section of that dialog, you'll find it under Editor | Appearance.
The question is obviously well answered already, but since IJ 13 you can enable line numbers in 2 seconds flat:
Et voila ;)
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.
Please note that this only works on a per-file basis, however. Enjoy.
链接地址: http://www.djcxy.com/p/17728.html上一篇: 在一个范围内生成一个随机double
下一篇: 我如何永久启用IntelliJ中的行号?