window 菜单 -- > Preferences... -- > General -- > Editors -- > Text Editors 勾选右边的复选框“Show line numbers”。
“Appearance color options”中选“Line number foreground”,可以更改行号的颜色。
“Appearance color options”中选“Line number foreground”,可以更改行号的颜色。