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?
Window > Preference > General > Editors > Text Editors > 'Colors and Fonts'
Select Basic and Text Font, you can edit the font size here for all editors
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
Related
I want to make a transparent background in Text Editor,Like Sublime I want to text while reading text on youtube.
This feature varies in different editors. You can check in Preferences if they allow that
I am on a Linux Mint 21 Cinnamon machine and my search for a solution lead me to Micro ( https://micro-editor.github.io/ ) and Nano (in package repository).
Micro is a text editor running in a Terminal which with an appropriate color scheme (with not set default background/foreground color) inherits the background transparency from the GNOME Terminal.
The transparency doesn't work 100% of the time (showing desktop background in spite of opened windows covering it),so sometimes the Terminal or Micro must be restarted to keep the proper functioning of the transparency, but most of the time it works as expected allowing to read through it while typing.
Currently Micro and Nano are the only text editors known to me that are open source and free and come with such feature.
My VB6 application is having a layout problem on certain end user PCs, but so far we are unable to identify what is causing this.
Normal layout:
Broken layout:
The text on the left are the captions of the radio buttons. The text in the upper right is a label.
I am familiar with two different settings in Windows Control Panel which can affect text size, and initially we suspected this was the cause. In Windows 10, they are:
Control Panel >
Appearance and Personalization >
Display >
(1) "Use these display settings" > "Customize your display"
or
(2) "Set a custom scaling level"
(Terminology was different in earlier Windows versions but I think the features were the same?)
However upon testing these settings with our app neither reproduces the problem.
What else might be causing the text layout issue shown in the image?
This appears to be caused by a Windows bug.
The description & fix as mentioned in the source website are as follows:
if you have a high resolution screen at install time, Win7 will install a larger font set (125%) by default. If you then choose go back to the standard font size (100%), Windows will keep some of the large fonts even though everything else is adjusted for standard fonts, causing programs that use these fonts to break because the text will not always fit inside the GUI.
By editing the Windows registry you can get the original, intended fonts back:
Open the start menu and type regedit and then press Enter.
Locate the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
Find the value MS Sans Serif 8,10,12,14,18,24
Change from SSERIFF.FON to SSERIFE.FON
Find MS Serif 8,10,12,14,18,24
Change from SERIFF.FON to SERIFE.FON
Finally find Courier 10,12,15
Change from COURF.FON to COURE.FON
Restart your system in order for the changes to take effect!
The exact font names may vary depending on locale settings.
I was able to create the problem scenario as described here on Windows 10, and that reproduced the problem with our VB6 app. I think that confirms this as the fix.
A Microsoft blog post seems to be the authoritative original source of this information.
As you can see, the font of modelsim's text editor is very small. But I can't change the size in Tools->Edit Preferences->Source Window->Fonts.
However, I can make the letters bigger by set the DPI higher(through System Settings->Fonts) or set the resolution of the screen to a appropriate value, such as 1024X720, while 1366x768 is the actual resolution of my screen. These ways are not comfortable, because everything else look strange.My OS is Fedora 22, and the version of my Modelsim is 10.3d.
I want to get a more comfortable way to the font-size problem of Modelsim, I'll appreciate it!
I ran into this too in Ubuntu 16.04 LTS with modelsim 10.5 ASE. I fixed it as follows:
Open ~/.modelsim (use "nano ~/.modelsim" in terminal)
Find: PrefDefault = ... textFontV2 {Verdana 12} (the name of the font may differ)
Change 12 to -12, so it will looks like this: textFontV2 {Verdana -12}
Save ~/.modelsim (Ctrl+O and then Enter)
Reopen modelsim
I ran into this too in Xubuntu, just use Ctrl++ or Ctrl+- to enlarge or shrink the text dynamically.
Tools->Edit preferences->source windows-> textFont
I am using CentOS Linux, Questa Sim-64 10.1a and had the same problem. I fixed it as follows :
Select "Tools" option from the toolbar at the top.
From the drop down menu select "Edit Preferences ..."
On the lower left pane, there are various Font types like fixedFont, footerFont, textFont etc. To change the size of textFont, select it and you get the choice of font type and size.
Choose what you are most comfortable with.
menuFont is used for command prompt and treeFont is used to display the folder structure.
On Xubuntu/XFCE4: Going to Settings⟶Appereance⟶Fonts and disabling the "Custom DPI setting" checkbox solved the problem for me.
The strange thing is that xdpyinfo says the screen resolution is 96x96 dpi regardless of the checkbox. Leaving the checkbox on and setting something like 200 dpi scales the Modelsim editor font, but also all other fonts on the screen, so that doesn't help. I didn't dig any further towards the root cause.
I recently started using Lisp and Limp is the only available plugin for VIM. But, once I set it up and hit F12, the terminal like window that appears has a very small font size. I have a screen resolution of 1920x1080 and it's impractical to read such small fonts. I went through the man page of 'screen', but couldn't find any useful information on changing the font or font size. Is there a way to do this?
And how about using something like 'xterm' rather than 'screen'? I looked through the code of bridge.vim. I don't think it is too much of a task. Any ideas on this?
By screen, do you mean GNU screen?
GNU screen is a terminal emulator that runs in another terminal or emulator. It has no direct control over font sizes; it's purely text based. The window you're seeing must be some GUI terminal emulator; you haven't told us enough to guess which one (could be xterm, could be Gnome terminal, etc.).
For xterm, control-right-click should bring up the "VT Fonts" menu, which will let you select a different font. If none of the available fonts are to your liking, you can use X resources to reconfigure the options, including the choice for the default font.
xterm also supports a control sequence that sets the current font. You have to know the name of the font you want. xlsfonts will show you a very long list of font names (it just showed me 5594 of them). For example, if you run this from a shell running in xterm:
printf '\e]50;-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1\a'
it should give you the font I usually use. But screen generally intercepts escape sequences like that, so it probably won't work from screen under xterm.
Other terminal emulators should have similar mechanisms.
I'm using two environments, one with 24" screen, second one with 15". I need default font size of content of project/package explorer in the first one, but small font size for the other one.
Is there any way how to change it within eclipse? I mean not within operating system ? Because it always influences other font size on desktop. I'm reffering to this question.
If there is no way, please describe how would you do it in Linux - distribution independently.
I have a 17 inch Mac Book Pro which is frequently hooked up to 27 inch high res display and the font size in the package explorer was way too small. Eclipse is supposed to respect the OS settings but it turns out on Mac OS X the default setting for eclipse is to use small Fonts rather than the standard os fonts.
on Mac OS X you can change edit the eclipse.ini file and remove -Dorg.eclipse.swt.internal.carbon.smallFonts restart eclipse and presto you will find that your package explorer looks brilliant with reasonable sized fonts.
You make have to use the Finder option "Show Contents" on the Eclipse.app to find the eclipse.ini file, and, the smallFonts line may occur more than once in the .ini file.
For Mac OS X, download TinkerTool from http://bresink.de/osx/TinkerTool.html and then change the font size for "Help tags".
That changed the font size of package explorer for me. :)
I can say pretty confidently that you cannot change that font size from within eclipse, only choice is on the operating system. And on ubuntu you are able to change that font size.
I work in Android development. I have ADT installed which comes which eclipse. The Windows about states that the eclipse installed has following components.
This product includes Eclipse Platform, JDT, CDT, EMF, GEF and WTP,
and Version : 4.2.1.v20130118-173121-9MF7GHYdG0B5kx4E_SkfZV-1mNjVATf67ZAb7
and BuildID : M20130204-1200
With the above version, I am able to change the font within eclipse. The process to change the font is very simple
1) Click on Window menu.
2) Click on Preferences sub menu.
3) Open General tab. (Left navigation)
4) Open Appearances sub tab. (Left navigation)
5) Click on Colors and Font option. (Left navigation)
6) Expand Basic option. (Right panel)
7) Click on Text Font (last option in Basic option)
8) Click on Edit Button.
9) Change the font which you want.
The screen shot of above option looks like...
For windows check below link:
Window > Preferences > General > Appearance > Colors and Fonts > View
and Editor Folders > Tree and Table font for views
https://www.bootng.com/2021/01/change-project-explorer-tree-view-font.html
For linux: Check out this link, it was very useful to me! I'm using the author's favourite option and works seamlessly.
http://techtavern.wordpress.com/2008/09/24/smaller-font-sizes-for-eclipse-on-linux/
For Eclipse Oxygen on Sierra, deleting
-Dorg.eclipse.swt.internal.carbon.smallFonts
from Eclipse.app » Contents » Eclipse » eclipse.ini
didn't change anything visible