Eclipse editors (text, html, javascript...) open with nothing displayed - eclipse

After installing updates yesterday to some Eclipse components, opening files (.js, .java, .html...) in Eclipse editors would show the edit tab and the scroll bar but nothing appeared. Select all, copy and pasting elsewhere showed the content so it was there so I assumed this was a white font on a white background (though none of the color highlighting was present either). Eclipse Colors and Fonts settings showed the Consolas font as a choice, but some of the choices for editing in Eclipse Colors and Fonts showed the icon but no text describing what the setting was, nor was the preview showing anything. Changing to Courier New as a test fixed the problem but switching back to Consolas showed no content in the editors (white on white background)...

After some head scratching, I found something had happened to the Consolas font that was installed but was showing nothing. Though it showed as a choice in Eclipse Colors and Fonts, it was not showing in the Windows Font choices... I had to reinstall the Consolas font to fix the problem. I hope this helps others with a similar problem.

Related

In Eclipse, how do you change the foreground and background color in the default text editor for plain text files with no file extension?

In Eclipse for C/C++, how do you change the foreground and background color in the default text editor for plain text files, that is, files with no file extension?
I tried going to window > preferences > general > editors > text editors > appearance color options.
Here it says foreground color and background color, and after hitting 'apply', the color of the text changes briefly, but returns to default as soon as you close the 'preferences' window.
The other thing I tried is to set file associations and try to set a different internal editor as the default for plain files. However it seems to only work for files that have an extension.
I often have to deal with existing files in a repository that are actually bash scripts, but the files have no extension. It is annoying then to not even be able to configure the settings of the editor. If I can't find a solution for this, it looks like I either have to 'embrace the suck' or use a different editor outside of Eclipse.
I'm working on Kubuntu 2020-04 with Eclipse 2020-06 and using the dark theme.
It looks like the same problem as here, but I couldn't find any satisfying solution. The problem was reported there on 2020-01-03, so it actually predates my Eclipse version.
Thanks to #howlger for suggesting to upgrade. After upgrading to Eclipse version 2020-12, the first method I mentioned in the question works, that is, going to window > preferences > general > editors > text editors > appearance color options. Here you can change the foreground color and background color and it will actually stay the color you selected.

How to render Ethiopian amharic character in netbeans windows 10

I have a problem on writing and printing out amharic character in netbeans ide, when I try to print out on the system the netbeans ide doesn't display them correctly instead it displays boxs, any one can help me pls?
The language code is 'am' and country is ET (ETHIOPIA).THANK YOU
NetBeans needs a font that supports Amharic in its editor window and Output window. I tried a few of the widely used fonts in NetBeans but (surprisingly) they all rendered Amharic characters as empty rectangles, so I found one that explicitly supports Amharic: Abyssinica SIL
I downloaded that font as an EXE file (use the ZIP file for Linux) and ran it to install the font in Windows. Then I restarted NetBeans and changed its default font to Abyssinica SIL:
Select Options from the Tools menu and click the Fonts & Colors icon.
On the Syntax tab click the ellipsis (...) button to the right of the Font field and choose the Abyssinica SIL font you just installed, and click OK.
The NetBeans editor will use that font immediately, and correctly display Amharic text in the editor window.
However, Amharic text in the Output window will still be rendered as empty rectangles. To fix that:
Download the ZIP file for Abyssinica SIL.
In the NetBeans Ouput window right click and select Settings... from the popup menu to open the Options window, click the Miscellaneous icon, and then click the Output tab.
Click the Import... button, click the Browse... button and choose the ZIP file you just downloaded: AbyssinicaSIL-1.500.zip. When you click OK to close the Select Options to import window you'll get a scary warning "Import may irreversibly overwrite your current settings..." but click Yes to continue. NetBeans will restart.
After the restart go back to the Options window where you imported the ZIP file, click the Miscellaneous icon, and then click the Output tab. Click the ellipsis (...) button to the right of the Font field and choose the Abyssinica SIL font you just installed and click OK. Amharic text will now render correctly in the Output window.
Here's a simple program and its output to show it works :
Notes:
There's no need to specify country or language to resolve this. However, running the app from the Command Prompt window still renders Amharic as empty rectangles, and the font cannot be changed to Abyssinica SIL. I suspect the solution for that may involve setting the locale appropriately in Windows.
Abyssinica SIL is not a mono-spaced font so only set it as the NetBeans font if you need to enter Amharic text in the NetBeans editor. (I'm sure there are mono-spaced fonts that support Amharic - I just grabbed the first one I found.)
I also tried running the app in Eclipse and Intellij IDEA without any configuration changes. In both cases the Amharic text rendered correctly in the editor. The output also rendered correctly in Eclipse, but as empty rectangles in Intellij IDEA. If you use Amharic text heavily you may want to consider switching to Eclipse.
In netbeans preference(setting) change the font from its default to Nyala. after that the boxes will be changed to Amharic texts.
hope your problem is solved

How to change font size for GTK menus, autocomplete, properties view and pop-up hints in Eclipse Neon?

I need to change eclipse menu size.
also in properties view.
high resolution makes the font so tiny.
I found a way to change package explorer view font size by modifying an eclipse related file in css folder.
eclipse\plugins\org.eclipse.ui.themes_1.1.1.v20151026-1355\css
but how to change "IDE menu" font size in eclipse?
also how to change "Properties view" or auto complete (control+space menu) font size in eclipse?
I searched every where for an answer for this question.
I had the same question, my Eclipse uses GTK so I tried to change the font size via the Kubuntu system settings and it worked. It applies also to pop-up hints in Eclipse.

Eclipse - black background in javadoc popup

I am using Elementary OS, based on Ubuntu 12.04 and Eclipse Luna.
The background color of javadoc popups is black and font color is dark grey, so it is unreadable.
I tried to change background in eclipse preferences, but it did not change.
Then I used google, and found solution, that I need to change tooltip bg color. So I did it. But still no change.
Anyone knows how to change that color ?
I had the same problem with Ubuntu 16.04 and Eclipse Mars. I solved the problem by adding the following lines in eclipse.ini :
--launcher.GTK_version
2
As a KDE user, you have to change the tooltip background color with System Settings. Navigate to
Application Apperearence -> Colors (Left side menu) -> Colors (Colors tab on right side)
and adjust the Tooltip Background and Tooltip Text colors. In your case, adjusting the tooltip background should be enough.
The setting is under GNOME UBUNTU in Settings.
I would get a blank assist popup window and if I clicked on the window it would turn black and not show any text.
I tried many things to get the text to show up like changing the eclipse foreground and back ground colors or the above system settings.
I then started to look at the VcXsrv X server program I was running to display on my windows box.
I turned off the 'Native opengl' in the 'Extra Settings' screen of the XLaunch program.
This fixed my problem.

Is there a way to change the colour of links on Eclipse?

I'm using Eclipse with the MoonRise theme installed on a Mac running OS X Yosemite, but I'm experiencing an issue which is that the background panel of Eclipse popups are dark grey and the colour of links is dark blue, making it difficult to see linked text against the background. As an example:
Is there a way I can change the colour of links to something brighter? I've tried Googling this problem and playing about with the Eclipse appearance preferences and so far nothing has helped. Is it the case that the link colour is hardcoded for Macs and I'm stuck with that?
The only way I saw to get around this was to go to Eclipse > General > Appearance > Colors and Fonts > Content Assist. From there I changed the Content assist background and foreground colors to light grey.