eclipse 可以通过 如下设置 显示行号:


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



效果图



相关文章: