如何在 Eclipse 中显示行号? [英] How can I show line numbers in Eclipse?

查看:17
本文介绍了如何在 Eclipse 中显示行号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Eclipse 中默认显示行号?

How can I show line numbers by default in Eclipse?

推荐答案

Window → Preferences → General → Editors → Text Editors → Show line numbers.

我很久以前写过这个,但正如@ArtOfWarfar 和@voidstate 提到的,你现在可以简单地:

I wrote this long ago but as @ArtOfWarfar and @voidstate mentioned you can now simply:

右键单击装订线并选择显示行号":

Right click the gutter and select "Show Line Numbers":

这篇关于如何在 Eclipse 中显示行号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆