Community
Participate
Working Groups
The default spacing for a particular font may not be the desired spacing. Adding an option for line spacing would allow a user to set how far apart each line is.
Workaround ... create a new font with desired spacing and use that as that font.
Closing for lack of activity. Please re-open if we plan to implement this.
SWT added API for this during 3.2 or 3.3. We could leverage this but I doubt many users would change that preference and having yet another preference isn't what I'd like to do. Agree to leave as WONTFIX unless we get more votes for this feature.
*** Bug 361632 has been marked as a duplicate of this bug. ***
(In reply to comment #4) > *** Bug 361632 has been marked as a duplicate of this bug. *** line spacing is as much a readability feature as syntax colouring and indentation is. Nobody questions the latter two ... It doesn't necessarily mean a new appearance preference, you could also put it into the formatting rules.
I think it's time to re-open this request. The screens are getting bigger, resolutions are getting smoother, so we don't need to spare every pixel anymore and bigger line height significantly increases code readability. See the difference: http://img522.imageshack.us/img522/3315/eclipseyh.png I know this is very subjective but I can't be the only one who would appreciate this. And it also can't be that hard to implement.
We won't work on this but we'd accept a high quality patch.
It's a great pity that such a popular IDE has been using such an ugly view for 10 years and refuse to fix it. Stupid, it destroyes the whole product.
Does any other IDE use such a small spacing?
This would be awesome !, please reconsider to make this ! Eclipse is the best-and-most-used IDE ! this 'little' things (features, settings) are what makes it the best ! This would avoid me to insert a new line in the code !, I really want this !
(In reply to Leon Zeng from comment #9) > Does any other IDE use such a small spacing? Not an IDE in its all meaning however, Sublime Text is the best as providing cross platform editor. View is the best at least I could tell. Building options and other preferences are not advanced, but it does the job. Reading the code is much more easier. Also it has Notepad++ style multi-language highlight support. It has a limited code completion however though has very small footprint. By the way, it is python based.
NetBeans also offer line-height correction via direct edit to configuration files.
Please help make this happen, it is really important for user experience.
(Quoting Tobiáš Potoček from comment #6) > See the difference: http://img522.imageshack.us/img522/3315/eclipseyh.png Archived at https://web.archive.org/web/20111223181936/http://img522.imageshack.us/img522/3315/eclipseyh.png
There are other apps where line height is not configurable. A possible workaround: use a font with an artificially increased line height, such as this: https://github.com/andreberg/Meslo-Font Although I do not understand why the *same font* (e.g. Consolas) looks way more cramped in Eclipse than in other apps?
*** Bug 533809 has been marked as a duplicate of this bug. ***
Please FINALLY add an option for setting the line height / line spacing. Xcode has it, IntelliJ has it. I have been waiting for this for years now. Eclipse looks, compared to these IDEs, just terrible. Why is that necessary? Eclipse is still a great IDE, also for Scala. Many users are used to it and cherish its power and adaptability. I am thankful and glad we can use it for free and fully aware of the fact that many people put a lot of work and effort into Eclipse pro bono publico. Just after researching for a line-space-setting solution for Eclipse for almost two days (even considering CSS, which I finally used to hide the tool bars years ago, which should be just a menu option, so trivial, to get a distraction free work environment), I considered and set up IntelliJ for the first time, for now working with both IDEs. In addition this would possible solve / ameliorate this bug leaving users with a seriously awful feeling: https://bugs.eclipse.org/bugs/show_bug.cgi?id=206740.
(In reply to Roman Knoell from comment #17) Thanks for your comment, but unfortunately this bug seems not to be important enough for developers. Eclipse is an Open Source project and this bug has the 'helpwanted' flag for more than 6 years. So, if you or anyone else cares, please provide a high quality Gerrit change.
Coming back from a few month of using Intellij IDEA, I was looking for a line spacing setting in Eclipse... It is in particular very useful on laptops to increase text density (reducing line spacing) without decreasing font size.
We have a lot of requests since 16 years ago for a line height customization setting for Eclipse. I am curious to know which files should changes need to be applied to in order for someone interested to write a patch?
(In reply to Taro Kyo from comment #20) > I am curious to know which files should changes need to be applied to in > order for someone interested to write a patch? The basis for all feature rich editor components is StyledText from SWT. [1] AFAIK this component has already all the support in line height flexibility someone would need for this feature request. I would start in org.eclipse.jface.text.TextViewer or SourceViewer from the Text project. [2] In best case there is not much more to do than setting another line height on the backing StyledText. [1] https://git.eclipse.org/c/platform/eclipse.platform.swt.git/ [2] https://git.eclipse.org/c/platform/eclipse.platform.text.git/
Having flexible configuration for line height and not just hacking around might be the harder part. You may find inspiration in how fonts are handled around AbstractTextEditor [1] getSymbolicFontName() and as more complex variant how Jave Editor use its own font "org.eclipse.jdt.ui.editors.textfont" in [2]. [1] https://git.eclipse.org/c/platform/eclipse.platform.text.git/tree/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java [2] https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/tree/org.eclipse.jdt.ui/plugin.xml
See continuation at https://github.com/eclipse-platform/eclipse.platform.text/issues/98#issuecomment-1331741781 and a potential fix at https://github.com/eclipse-platform/eclipse.platform.text/pull/119