0

When I use Eclipse in windows it shows approximately 100 lines when editor in full screen, But In linux in shows approximately 50. Font size is bigger in linux so it shows less lines. I checked screen resolution it is same in windows and linux. When I increase resolution in linux Eclipse start showing more lines in editor, but VMWare starts showing scroll bars to access the whole screen. How to show more lines in Eclipse in linux or how to remove scroll bars from VMWare when resolution is increased?

वरुण
  • 1,237
  • 3
  • 18
  • 50

1 Answers1

1

Window > Preference > General > Editors > Text Editors > 'Colors and Fonts'

Select Basic and Text Font, you can edit the font size here for all editors

enter image description here


Also note that the number of lines you see on different platforms doesn't strictly depend only on eclipse configuration, but also on the area of window that eclipse has on each platform. Probably you are using some docker or there is a panel on linux desktop environment which takes too much space and at the end eclipse window gets less space than on windows thats why the number of lines in editor is less than on windows

deimus
  • 9,565
  • 12
  • 63
  • 107
  • Thanks for your response. When I change size to `6` for font It shows approximately `100` lines in editor but It makes font size too small. – वरुण Oct 01 '15 at 12:31
  • Check what is the font size on your windows host and set the same size on linux version of eclipse. And you are sure that the desktop resolutions are the same on both platforms, right ? – deimus Oct 01 '15 at 12:33
  • Font size in windows is `10` and I again checked resolution is same both side `1280X1024`. – वरुण Oct 01 '15 at 12:37
  • 1. Restart eclipse 2. Check if your editor is not zoomed in, try to zoom out with Ctrl - – deimus Oct 01 '15 at 12:42
  • I tried Ctrl and - to zoom out, But noting happened. It was not even zooming up with Ctrl and +. – वरुण Oct 01 '15 at 12:49
  • Let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/91099/discussion-between-deimus-and-varun). – deimus Oct 01 '15 at 12:55