How can I permanently enable line numbers in IntelliJ IDEA?
Just an update for Android Studio 1.5.1 on Windows:
Go to File -> Settings -> follow picture
File > Settings... > Editor > General > Appearance > Show line numbers
Hit Shift twice > write "line numbers" > Show Line Numbers (that one that has the toggle) > change the toggle to ON
Right click on the left side bar > Show Line Numbers
Hit Shift twice > write "line" > Show Line Numbers (the line doesn't have the toggle)
Ctrl + Shift + A > write "Show line" > Active Editor: Show Line Numbers > change the toggle to ON
For 9.0.4
File > Settings
In the tree view group
------------IDE Settings ---------
Click the Editor [+]
Select Appearance... Its there.