How can I permanently enable line numbers in IntelliJ IDEA?
标签:
intellij-idea
相关问题
- Configure gradle plugin based on future tasks
- How to make available “open this project in Intell
- IntelliJ 2017.1.2 GOLANG debug does not work on br
- JavaFX sample issue
- Could not import the newly generated play framewor
相关文章
- In IntelliJ IDEA, how can I create a key binding t
- IntelliJ IDEA can't open projects or add SDK o
- IntelliJ Subversion Authentication Required Dialog
- Kotlin Koans with EduTools plugin: “Failed to laun
- How to set up Intellij to run javap command on a p
- How to enable “type information” for streams retur
- How to add a project to build path in IntelliJ Ide
- How do I use Gradle bootRun with --args in Intelli
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.
1st way: Go to View => Active Editor => show line numbers
2nd way Go to Android Studio => Preferences => Editor=> Appearance => set Checked "Show Line Numbers"
Just an update for Android Studio 1.5.1 on Windows:
Go to File -> Settings -> follow picture
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 | Settings1. Within the IDE Settings section of that dialog, you'll find it under Editor | Appearance.
For 9.0.4
File > Settings
In the tree view group
------------IDE Settings ---------
Click the Editor [+]
Select Appearance... Its there.
On
IntelliJ IDEA 2016.1.2
Go to Settings > Editor > General > Appearance then check the Show Line number option