问题描述:

There is probably a very simple solutions for this, but i accidentally pressed something and now there is more space between the lines than usual, how can i fix it? Its not really a big deal but its annoying that one Xml file looks different than the others.

This is how it looks:

And this is how it looked before:

网友答案:

The problem fixed itself! After restarting my computer and eclipse several times the line spacing is now back to normal.

网友答案:

Is it zoomed in? Ctrl + scroll wheel should solve it/cause it.

*Edit: you could try changing the font size. Instructions here: http://alagad.com/2007/06/15/changing-the-font-size-in-eclipse/

*Edit 2: Ctrl and plus/minus buttons? I don't have eclipse at work to try these.

网友答案:

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!

相关阅读:
Top