All of the buttons for run, debug, new class, etc. are incredibly small and almost unreadable. I'm just wondering if there's a way I can get them to be larger. I'm new to eclipse and java and don't have much knowledge on the program or its settings.
This is typically controlled by your host OS settings. I don't have Windows 8, however on all other OS'es I've had to change the default system font to be larger to effect those used in the Eclipse UI.
Also there are some editor preferences in Eclipse itself that can modify some of these font sizes, however it's usually only the editor font, not the font used on controls.
edit:
I actually found a way to do this which is somewhat of an hack that's sort of detailed here https://stackoverflow.com/a/19675350/663367
Install the Eclipse 4 CSS Editor plug-in http://marketplace.eclipse.org/content/eclipse-4-tools-lightweight-css-editor
Go to the Preferences in Window > Preferences > General > Appearances, you should see a Theme selector, and then a big text area with some CSS-like annotations. By editing the CSS directly, you can increase the font size of pretty much everything, but Table Headers (my sole pet-peeve).
Related
I'm using CFeclipse on Windows 10 OS.
With the adaptation of new 4k resolution laptops. Eclipse displays small icons and fonts. Its also reported as a bug in https://bugs.eclipse.org/bugs/show_bug.cgi?id=451693.
The mentioned bug has been fixed, Eclipse automatically scales images on high-DPI monitors on Windows since Eclipse Neon (4.6). So, make sure your Eclipse IDE is up to date.
If upgrading does not fix your issue, in eclipse.ini add the following line below the line -vmargs (see Tweaking SWT's auto-scaling):
-Dswt.autoScale=200
(In contrast to the compatibility mode of Windows, this is the way to get the double-resolution icons.)
To solve the problem in Windows 10.
Right click Eclipse Icon
Select Properties
Compatibility Tab
Under Settings Section check
Override High DPI scaling behaviour. Scaling performed by.
Select System.
Then Apply or Ok
I haven't encountered it yet in other application but this solution might also work for other apps that displays small icons and fonts.
This solution also works in Ultraedit,FastStone capture
The steps also helps for Coldfusion installer that appears too tiny to be readable or other Application installer in a 4k screen that shows everything too small.
I was having problems with a Windows 10 RDP connection using a Surface Pro machine. A recent update made Eclipse virtually unusable.
This solution worked perfectly :
Right click Eclipse Desktop Icon
Select Properties
Compatibility Tab
Change high DPI settings
Override High DPI scaling behaviour. Scaling performed by. Select
System.
Then Apply or OK
I then had to slightly adjust the font size within Eclipse itself. I found I could use a slightly smaller font
I recently brought Mac Book Pro and I installed Eclipse Luna. I am facing a problem in viewing the Java projects in "Package Explorer" folders are very small. Is there a way to increase instead of changing the screen resolution?
It should be possible, have a look at this link: http://blog.vogella.com/2013/02/19/css-styling-individual-part-of-the-eclipse-ide/
(Copy of the essential part, in case the above link stops working:
#org-eclipse-jdt-ui-PackageExplorer {
font-size:20;
background:black;
}
)
Remains the question, where to put those lines. Best would be to create your own style, but I never figured out how to do it. So I usually just modify one of the built-in styles. To do this, go to /Applications/eclipse4.4/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css and open the css-file of the style you currently use (probably e4_default_mac.css). Then add the above lines at the end of that css file and restart Eclipse. Note: when updating Eclipse, you might have to repeat those steps.
EDIT: Just realized it was already asked and answered on SO: I cannot change the font size of package explorer in Eclipse Don't look at the accepted answer, but at the next one below.
No, there is no way to change the size of folders or other visual properties of package explorer.
The views, fonts, etc... of general views are set by the system/OS properties. Only the editor view allows customization of sizing, such as, font.
Is there a way to have a dark theme in Netbeans?
Darcula
UPDATE 2016-02: NetBeans 8 now has a Darcula plugin, better and more complete than the alternatives discussed in old version of this Answer.
The attractive and productive Darcula theme in JetBrains IntelliJ is now available in NetBeans 8.0 & 8.1!
The Real Thing
This plugin provides the real Darcula, not an imitation.
Konstantin Bulenkov of the JetBrains company open-sourced the Darcula look-and-feel originally built for the IntelliJ IDE. This NetBeans plugin discussed here wraps that original implementation, adapting it to NetBeans. So we see close fidelity to the original Darcula. [By the way, there are many other reasons beyond Darcula to use IntelliJ – both IntelliJ and NetBeans are truly excellent and amazing products.]
This NetBeans plugin is itself open-source as well.
Installation
Comes in two parts:
A plugin
A Fonts & Colors profile
Plugin
The plugin Darcula LAF for NetBeans is easily available through the usual directory within NetBeans.
Choose Tools > Plugins. On the Available Plugins tab, scroll or search for "Darcula LAF for NetBeans". As per usual, check the checkbox and click the Install button. Restart NetBeans.
Profile
In NetBeans > Preferences > Fonts & Colors (tab) > Profile (popup menu), choose the new Darcula item.
Click the Apply button.
I suggest also hitting Duplicate in case you ever make any modifications (discussed below).
Fix overly-bright background colors
You may find the background color of lines of code may be too bright such as lines marked with a breakpoint, or the currently executing line in the debugger. These are categories listed on the Annotations tab of the Fonts & Colors tab.
Of course you can change the background color of each Category manually but that is tedious.
Workaround: Click the Restore button found to the right of the Profile name. Double-check to make sure you have Darcula as the selected Profile of course. Then click the Apply and OK buttons at the bottom.
Font
You may want to change the font in the method editor. I most highly recommend the commercial font for programmers, PragmataPro. For a free-of-cost and open-source font, the best is Hack. Hack was built on the very successful DejaVu font which in turn was built on Bitstream Vera.
To change the font, add these steps to the above to duplicate the profile as a backup before making your modification:
Click the Duplicate button.
Save the duplicate with a different name such as appending your name.Example: “Darcula - Juliette”.
Click the Apply button.
While in that same Fonts & Colors tab, select Default in the Category list and hit the … button to choose a font.
You might also want to change the font seen in the Output and the Terminal panes. From that Fonts & Colors tab, switch to the sibling tab Miscellaneous. Then see both the Output tab and the Terminal tab.
Experience So Far
While still new I am reserving final judgement on Darcula. So far, so good. Already the makers have had a few updates fixing a few glitches, so that is good to see. This seems to be a very thorough product. As a plugin this affects the entire user interface of NetBeans; that can be very tricky to get right.
There was a similar plugin product predating Darcula: the “Dark Look And Feel Themes” plugin. While I was grateful to use that for a while, I am much happier with Darcula. That other one was more clunky and I had to spend much time tweaking colors of “Norway Today” to work together. Also, that plugin was not savvy with Mac OS X menus so the main Mac menu bar was nearly empty while NetBeans’ own menu bar was embedded within the window. The Darcula plugin has no such problem; the Mac menu bar appears normally.
The rest of this Answer is left intact for history, and for alternatives if Darcula proves problematic.
NetBeans 8 – Dark Editor
At least in NetBeans 8.0, two dark profiles are now built-in. Profile names:
Norway Today
City Lights
The profiles affect only the code editing pane, not the entire NetBeans user-interface. That should mean much less risk of side-effects and bugs than a plugin.
Norway Today
City Lights
Tip: You can alter the font in either theme, while preserving the other aspects. Perhaps Menlo on a Mac, or its parent DejaVu. Or my fav, the commercial font Pragmata.
Unfortunately, neither theme suits my eyes. They do not begin to compare to the excellent Darcula theme in JetBrains IntelliJ.
Choose Profile in Font Settings
On a Mac, the menu path is Netbeans > Preferences > Fonts & Colors (tab) > Profile (popup menu).
On other host operating systems, the menu path may be Tools > Options > Fonts & Colors. Not sure, but it was so in previous versions.
Netbeans 8
Tools -> Options -> Appearance (Look & Feel Tab)
(NetBeans -> Preferences -> Appearance (Look & Feel Tab) on OS X)
Netbeans 7.x
Tools -> Plugins -> Available -> Dark Look and Feel - Install this plugin.
Once this plugin is installed, restarting netbeans should automatically switch to Dark Metal.
There are 2 themes that comes with this plugin - Dark Metal & Dark Nimbus
In order to switch themes, use the below option :
Tools -> Options -> Miscellaneous -> Windows -> Preferred Look & Feel option
And then there is the original plugin ez-on-da-ice. Better yet, you can complain to me directly if there are issues. I promise you, I am mostly very responsive :).
http://plugins.netbeans.org/plugin/40985/ez-on-da-ice
On Mac
Netbeans 8.0.2
Tools -> Plugins -> type in search: Dark Look and Feel. Then install plugin.
NOTE: There is no "Option" Or "Appearance" in the "Tools" section in Netbeans 8.0.2.
u can use Dark theme Plugin
Tools > Plugin > Dark theme and Feel
and it is work :)
There is no more plugin in netbeans 12. In case someone comes to this page. Tools->Options->Appearance->Look and feel->Flatlaf Dark
There is no way to adjust the font or font size of the Java Package Explorer. It inherits the font settings from the system. In the case of Windows XP, the default 8 point font is too small for my taste. I'd like to enlarge it. When I do that, however, this affects the browser and other applications and in some cases makes the font too large in other contexts (such as Firefox Tab Text).
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.
I'm using eclipse for a few months, I realy like gvim better but eclipse makes my life easier with pydev and phpeclipse. Everything is pretty nice, I have a black fluxbox and black GTK themes, I've changed the syntax colors for py and php and now everything is dark background, light foreground (including the eclipse menu/borders/etc), very nice.
But.. I can't find a way to change the syntax colors for html files. It's really bad, occasionally I will want to open a html file in eclipse and standard text is black (same as my background). I've changed every background-related color setting I could find but the html editor's colors don't change. Am I missing something? Does anyone know how to change this?
You need to install the WTP plugin to add all that HTML/JS/CSS support.
I would also recommend using the PDT plugin for all your PHP needs.
After installing these plugins.. you should be able to access their properties in Window>Preferences...
Hope this helps :)
For others who may not be as familiar with the Preferences for Eclipse you can find most of these color settings (once you have the plugins mentioned here installed) at:
Preferences > Text editors > Appearance color options
and
Preferences > Appearance > Colors and Fonts
Don't forget to use the search features built into the Eclipse preference panes to find the exact element you are trying to modify.