Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change line height / line spacing in Eclipse?

I am using Eclipse for Java programming but lines in the editor look too close together.

I want to change the amount spacing/gap between lines. Is there an option in Eclipse that I can use to do this?

like image 571
Vamsee Avatar asked Jun 18 '09 18:06

Vamsee


People also ask

What is line spacing and line height?

Line height, also known as leading, is the distance between each line when you have two or more rows of text. Letter spacing, also known as tracking, is the size of the gaps between each letter of each word.

How do I change line numbers in Eclipse editor?

In Eclipse IDE, select “Windows” > “Preference” > “General” > “Editors” > “Text Editors” , check on the “Show line numbers” option. See result.

How do you calculate line spacing height?

For most text, the optimal line spacing is between 120% and 145% of the point size. Most word processors, as well as CSS, let you define line spacing as a multiple. Or you can do the math—multiply your point size by the percentage.


1 Answers

I've cloned and installed the font from

https://github.com/andreberg/Meslo-Font

and made it my IDE editor font for Eclipse. Line spacing is much better now!

like image 162
josef.van.niekerk Avatar answered Sep 19 '22 02:09

josef.van.niekerk