Line numbers don't show in aptana plugin for eclipse
-
22-06-2021 - |
Pregunta
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):
And to show that it isn't an Eclipse problem, here is a markdown editor (provided by Eclipse). Notice the line numbers:
Any ways to fix this issue? I tried changing Aptana themes, but that didn't do anything.
Solución
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"
Otros consejos
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.