Eclipse luna mac osx package explorer tree view - eclipse

I have updated package explorer font size by as per the answer in the post
Mac os X Eclipse Package Explorer view , project folders in smaller size in mac theme CSS and it works well. But when I update a java or properties file, it font size is reset to the default(I am unable to find what is the default size). I enabled Maven and Git for my project, how to retain the same font size even after updating the files.

The configuration is present in eclipse>preferences>change colors and fonts > Git > Uncommitted Change Font.

Related

Netbeans doesn't see newly installed fonts [duplicate]

I am trying to add new fonts to my Netbeans editor by downloading them and double-clicking the .ttf files and pressing 'Install' on the upper left corner. I am able to install the fonts with no issues. However, when I reload Netbeans and go to select the new font, it does not appear on the list of available fonts. Restarting Windows doesn't help. Has anyone had this issue before? And if so, we you able to fix it and how?
Thanks in advance.
EDIT: I am using Netbeans 10.
EDIT2: I am trying to install Roboto Mono and Inconsolata, here are the links to the downloads:
https://fonts.google.com/specimen/Inconsolata
https://fonts.google.com/specimen/Roboto+Mono
Get back to me if you have any luck, thank you.
Initially I had the same problem as you. After installing the new fonts and rebooting, those new fonts were not available in NetBeans 10.0, even though they were available in other applications such as Firefox and Notepad.
In my case, installing the *.ttf files resulted in them being installed in a user specific folder: C:\Users\johndoe\AppData\Local\Microsoft\Windows\Fonts.
However, after I copied (only) the *.ttf files for Inconsolata from that folder to C:\Windows\Fonts and rebooted again, the Inconsolata font was visible in NetBeans 10.0. Here is a screen shot showing the use of Inconsolata font:
Notes:
I don't know why this action was necessary. I'm pretty sure I have installed other fonts for NetBeans in the past that didn't require manually copying them to C:\Windows\Fonts.
This issue isn't specific to NetBeans 10.0 for those particular fonts; it also exists in NetBeans 8.2.
Don't use Windows File Explorer for copying the fonts since it treats C:\Windows\Fonts in a special way. Instead, copy the *.ttf files to C:\Windows\Fonts using copy from the command line:
I'm not sure whether this is a NetBeans issue or a Windows 10 issue, but since other software picked up the new fonts from the user directory perhaps this is a NetBeans bug?
As mentioned in previous answers, NetBeans only shows up fonts that are installed globally (for all users).
If you just use „install“ from the context menu in Explorer or from the font preview window, the font is installed on a per-user basis and is not installed globally.
You don’t have to move the font files manually. There's a clean way to do this: Use Explorer to navigate to the folder where your TTF files are stored. Then right click on a ttf file and choose "Install for all users".
Run command cd "c:\Windows\Fonts"
Force delete all fira fonts del f/ firacode-regular.ttf
(in my case, I had this font installed before, which is the one I want to use, so I will have to remove it to continue with the explanation)
Copy .ttf font file copy "c:\users\mrconejO07\desktop\firacode-regular.ttf" "c:\windows\fonts"
(in my case these are the paths where my file is and where it must be copied)
In theory it should work in the NetBeans IDE, enter to verify that the font should already appear in the options menu and if you see strange symbols when selecting the font you should ...
Open the .ttf file of the font you want to install and install it, now if it should work correctly.
enter image description here

Newly installed fonts do not appear in Netbeans

I am trying to add new fonts to my Netbeans editor by downloading them and double-clicking the .ttf files and pressing 'Install' on the upper left corner. I am able to install the fonts with no issues. However, when I reload Netbeans and go to select the new font, it does not appear on the list of available fonts. Restarting Windows doesn't help. Has anyone had this issue before? And if so, we you able to fix it and how?
Thanks in advance.
EDIT: I am using Netbeans 10.
EDIT2: I am trying to install Roboto Mono and Inconsolata, here are the links to the downloads:
https://fonts.google.com/specimen/Inconsolata
https://fonts.google.com/specimen/Roboto+Mono
Get back to me if you have any luck, thank you.
Initially I had the same problem as you. After installing the new fonts and rebooting, those new fonts were not available in NetBeans 10.0, even though they were available in other applications such as Firefox and Notepad.
In my case, installing the *.ttf files resulted in them being installed in a user specific folder: C:\Users\johndoe\AppData\Local\Microsoft\Windows\Fonts.
However, after I copied (only) the *.ttf files for Inconsolata from that folder to C:\Windows\Fonts and rebooted again, the Inconsolata font was visible in NetBeans 10.0. Here is a screen shot showing the use of Inconsolata font:
Notes:
I don't know why this action was necessary. I'm pretty sure I have installed other fonts for NetBeans in the past that didn't require manually copying them to C:\Windows\Fonts.
This issue isn't specific to NetBeans 10.0 for those particular fonts; it also exists in NetBeans 8.2.
Don't use Windows File Explorer for copying the fonts since it treats C:\Windows\Fonts in a special way. Instead, copy the *.ttf files to C:\Windows\Fonts using copy from the command line:
I'm not sure whether this is a NetBeans issue or a Windows 10 issue, but since other software picked up the new fonts from the user directory perhaps this is a NetBeans bug?
As mentioned in previous answers, NetBeans only shows up fonts that are installed globally (for all users).
If you just use „install“ from the context menu in Explorer or from the font preview window, the font is installed on a per-user basis and is not installed globally.
You don’t have to move the font files manually. There's a clean way to do this: Use Explorer to navigate to the folder where your TTF files are stored. Then right click on a ttf file and choose "Install for all users".
Run command cd "c:\Windows\Fonts"
Force delete all fira fonts del f/ firacode-regular.ttf
(in my case, I had this font installed before, which is the one I want to use, so I will have to remove it to continue with the explanation)
Copy .ttf font file copy "c:\users\mrconejO07\desktop\firacode-regular.ttf" "c:\windows\fonts"
(in my case these are the paths where my file is and where it must be copied)
In theory it should work in the NetBeans IDE, enter to verify that the font should already appear in the options menu and if you see strange symbols when selecting the font you should ...
Open the .ttf file of the font you want to install and install it, now if it should work correctly.
enter image description here

Change the fonts in the PyDev Package Explorer

How do I change the fonts used in the LiClipse PyDev Package Explorer? I find them a little bit on the small side.
There's no special configuration inside Eclipse for that... (LiClipse/PyDev just provides what's default in Eclipse here).
For more information and workarounds see:
Eclipse - changing font size in project/package explorer
I cannot change the font size of package explorer in Eclipse
How can I configure the font size for the tree item in the package explorer in Eclipse?

How to resize editor file tab in Eclipse?

I want to resize the file tab in the eclipse editor.
At the top of each file there's a tab with the name of the file but in my system its height is huge.
Using : Helios Service Release 1
System : Ubuntu 10.04 LTS
Does anybody know how to do this ?
I would look at your system font settings in your OS control panel or equivalent. Are any of them set to unusually large size? Eclipse picks up up system font settings for use in its UI.
Restart eclipse and the new font size will register on your file tabs.

Where's the font setting for folders in the Package Explorer?

I'm talking about Eclipse (3.5 = Galileo), running under Kubuntu 9.10 and I have the Subversive plugin.
I've been moved from Gnome-Ubuntu to Kubuntu, and one side effect was that some fonts are now just too tiny to read.
File names in the explorer have a decent size, but folders are shown in a too-small font, and after having adjusted all the fonts in General|Appearance|Colors and Fonts the folders are unchanged.
Maybe I'm just blind. I'd appreciate it if someone could point me to where I can adjust the font for folders in the Package Explorer
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.
To find the eclipse.ini on a Mac, right click on Eclipse.app, then select "show package contents", then you will find the ini file in Eclipse.app/Contents/MacOS/eclipse.ini
It'll use the default GTK+ font settings, as Eclipse is a GTK application. You may have to install Gnome's Appearance preference applet to get a GUI to change it.
Feedback on success:
It seems that in Kubuntu, any fonts not explicitly specified in Eclipse's preferences come from the system. Eclipse is a Gnome app, so its fonts (among other stuff) are controlled by
System Settings | Appearance | GTK+ Appearance
...and there I was able to fiddle the fonts to my satisfaction.
My thanks to Andrew Aylett!