方法一:在行的显示行标位置(行前),右键->Show Line numbers

方法二:Window->preferences->General->editor->text editors->show line numbers

04-18 11:02