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….
How can I permanently have line numbers in IntelliJ?
1 Article
1