eclipse java code display linenumber

蓝咒 提交于 2020-01-02 04:53:07

问题


what plugins do i need to install on eclipse so that .java files will show line number? how about show line number on .xml/.html as well?


回答1:


There is also a simpler way: just right click on gutter (left border of your editor window in which your code resides) and enable them.. there is a specific option there.




回答2:


Window Menu -> Preferences -> General -> Editors -> Text Editors -> check Show line numbers




回答3:


Easy click on left bar (where line numbers will show) and clikc Show line numbers.

http://prntscr.com/2znore




回答4:


What if line numbers are not displayed even after checking the line number option in Window->Preferences->Editors->Show Line Numbers checkbox. I am facing this issue.



来源:https://stackoverflow.com/questions/3979809/eclipse-java-code-display-linenumber

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!