When I first fired up IntelliJ and started using it to edit a Java file, one of the first things I wanted to do was to be able to see line numbers within the file.
Configuring IntelliJ to show line numbers is a no-brainer. Here's how to do it:
- Select Tools | IDE Options
- Select Editor
- In the Display group, click Show line numbers
- When you're finished here, click OK
That's it. Do this and you're ready to go.
There’s just one person behind this website; if this article was helpful (or interesting), I’d appreciate it if you’d share it. Thanks, Al.
I am using version 9 and the menu structure has changed. The show line number option is now under IDE Settings | Editor | Appearance.