步骤:Eclipse IDE menu -> Window -> Preferences -> General -> Editors -> Text Editors -> Show line numbers