How to edit the text color in .txt files in Eclipse - eclipse

I am using the Eclipse dark theme. A lot of my projects, however, require the use of text files for various reasons. Because the text is black, and the editor is black, I cannot read the text in these files if I view them in eclipse. I found where to change colors for things like .c .java etc (preferences->general->appearance->colors and fonts) but I don't see where I can change the text color for .txt files.
Is it possible to make .txt files readable in Eclipse's dark theme? Or do I need to switch back to the white theme?
I found an answer online which said to follow the path (General>Appearance>Editors>TextEditors) but I don't have this path. I assume the options hierarchy must have been updated in the last major release of Eclipse.

I was using Eclipse Luna. Upgrading to Eclipse Mars fixed my issue.

Related

Eclipse basic syntax font change

I use a company specific plugin to Eclipse IDE, to be able to view and modify our ERP system's script files.
When I change the syntax coloring, it is not affecting the base font color in the code editor.
Question:
Does anyone know which .jar file in Eclipse IDE folder I should modify to change the code's main/basic font color in Eclipse ?
I tried various context of syntax coloring in Eclipse's preferences ... and none of it works.
Any help much appreciated

How can I know exact font colors for Default/Classic Theme in Eclipse

I would like to find the exact font colors for Default/Classic Theme in Eclipse IDE for Java Developers, Mars.1
Is there any documentation for that?
Can I find the color values in any config/settings files?
I tried to look for the same theme on http://www.eclipsecolorthemes.org/ but I was not able to find the same theme.
Color values are in the CSS files for the theme. These are in the css folder in the org.eclipse.ui.themes plugin's directory in the plugins directory of the Eclipse installation.

Eclipse Project Explorer Highlighting

I installed the Eclipse Moonrise UI and the results are great, except a couple things become unreadable for me. Here is an image of what my project explorer window looks like. I have 2 git repositories which have black text, making it very difficult to read on the dark background. The normal files and folders have light text, but when selected, it becomes completely unreadable because the selected item's background is very light. Also my scroll bars are light (unlike what is seen on the front page of the above link).
I am unable to locate where I can adjust these settings.
On the other hand, the Outliner window has light text on the dark background and when selected becomes dark text on a light background. Not the way it is supposed to look with this plugin, but it's fine, I can read it.
I am running Kepler Service Release 2 on windows 7 x64.
Except for scrollbars that are forced by OS theme, try to import the epf file as suggested on project page. The settings contained in that epf will influence the syntax highlighting (foreground/background colors) for code editors but also custom colors for other views (eg. console, git filenames, etc.).
If instead you're using CDT, unfortunately the issues with package explorer and outline file names cannot be solved now, because those colors are hard-coded in that package and requires a fix in CDT bundle for them before.

Is there anyway to edit the actual theme of the Eclipse IDE?

I'm not talking about the themes we can easily import and edit the textpad and code coloring with.
What I'm wondering is just like the firefox themes where the frame of the window and buttons can change colors. Is there a theme option for the actual editor not the text pad?
This might be what you're looking for
http://ikool.wordpress.com/2008/07/06/eclipse-skins-to-make-your-eclipse-ide-spicy/
http://www.eclipse.org/nebula/widgets/presentation_shelf/presentation_shelf.phpalthough it doesn't change everything.
If you are using Eclipse Juno (4.2), there is a plugin for this: https://github.com/jeeeyul/eclipse-themes (of course, the .css files in the application can also be edited manually)

Eclipse syntax colors for HTML files

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.