In the Aptana plugin for Eclipse, line numbers do not show (in Aptana components, such as Pydev, not in Eclipse components). Below is a screenshot of the HTML editor provided by aptana (notice the lack of line numbers):

enter image description here

And to show that it isn't an Eclipse problem, here is a markdown editor (provided by Eclipse). Notice the line numbers:

enter image description here

Any ways to fix this issue? I tried changing Aptana themes, but that didn't do anything.

有帮助吗?

解决方案

If you look at the image @lkjoel pasted on a high contrast display (or zoom in), you can see that the line numbers are indeed there, they're just very similar in color to the gray margin.

To change the color of the numbers (to something other than gray), go to:

Window -> Preferences -> General -> Editors -> Text Editors. Change the "Line number foreground"

其他提示

Right-click the left ruler bar (a little bit left to the editor's folding annotations) and a menu should appear.

Click the "Show Line Numbers" and you should be set.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top