To permanently turn on line numbers in IntelliJ IDEA (and other JetBrains IDEs): Go to File > Settings… Then go to Editor > General > Appearance. Check the Show line numbers box. Click Apply and OK. Line numbers are now permanently turned on….
IntelliJ IDEA: How to Permanently Turn On Line Numbers
1 Article
1