Open your project and a file in the editor, then:
Source -> View linenumbers
(The Source menu option only gets activated if a file is being edited.)
In my opinion, line numbers aren't very useful in an IDE anyway.
They are useful when you use a text editor and a compiler separately.