Windows->preference->General->Editors->Text Editors->Show line numbers
Eclipse显示行号
原文:http://www.cnblogs.com/kuillldan/p/7067456.html