Eclipse CDT: How can I change background color of tooltip in editor? - c++

I'm using eclipse for coding C++ and Java. When declaration or definition is shown, background is black. It happens only in C++ srouce file. I dont have this problem while editing Java source files.
I have installed Eclipse Color Theme. I'm not able to find where i can set background color of this window. I have been searching in General/Appearance/Colors and Fonts and C/C++/Editor/Syntax Coloring without result.

Switching to a clean workspace might help but I found the curprit if you want to manually edit it. Look in:
[my workspace]/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs
for
sourceHoverBackgroundColor.SystemDefault=false
and make it "true". Restart Eclipse. Of course this assumes that your system default background colour is not black.

I had this problem because I installed this plugin. I tried out the themes but when I decided on the original and swapped back to it the tool tips were broken in this fashion. Unfortunately the only way I managed to fix it was by "reinstalling" eclipse.

Related

Gimp Image->Guides menu item disappeared

I wanted to use the guides in Gimp but I cannot find it at their traditional place.
The Image menu contains all the usual items (Duplicate, Mode, ..., Configure Grid, Image Properties), apart from the Guides which is supposed to be right above the Configure Grid.
How can I get this menu item back?
It is Windows 7 and Gimp 2.8.22.
I couldn't find any solution in Gimp to change the content of the menus so I decided to reinstall Gimp. That is, I used the official Add/Remove Programs from the Control Panel to delete it and then I executed the installer.
It did not solve the problem, ie. the Image->Guides menu item was still missing.
So, I
uninstalled Gimp again
I used regedit.exe to remove all the references to Gimp (there were some so the uninstall was not totally clean)
I deleted the folder called .gimp-2.8 from the C:\Users\<username>\ directory (it was still there so the uninstall did not do a perfect job).
then I installed it again.
This solved the problem so it seems that the registry or the .gimp-2.8 folder got corrupted.

Color dark scheme for ColdFusion/Dreamweaver?

Is there anyone out there who has a dark color scheme for Dreamweaver (CS6) that includes coldFusion Code?
I was not able to find any and changing the colors by hand is really painful
Would be great if you could share one.
Tks
There are colour files for Dreamweaver, but I haven't found any that actually work with Coldfusiun. You can follow this guides process. It is a manual process, but it will tell you exactly what to change and as indicated by the latest update at the bottom it does work in CS6.
Copying from link in case link dies. Do note that you will have to go to the link to download the links.
Close Dreamweaver
Browse to: %APPDATA%\Adobe\Dreamweaver 9\Configuration\CodeColoring
Rename the Colors.xml file to something different – say Colors2.xml (This will be the file you go back to if you don’t like the new colour scheme)
Download and extract the the zip at the end of this article to the location you opened at point 2.
Open Dreamweaver and go to Edit/Preferences/Code Colouring and change the default background colour to #003
As a side note. If you are only using Dreamweaver to write Coldfusion, maybe you should consider looking at CFEclipse. I've found it to be much better than Dreamweaver at writing Coldfusion. Also it's built on top of Eclipse. Which has a plugin to change the colouring. It's also easier to change it manually.

Visual Studio 2012 variable font color reverts to black from user-selected color

I am rather new to using Visual Studio and I am attempting to use a color scheme that is very similar to Sublime Text 2 as I enjoy the highlighting of this text editor.
I have downloaded the Sublime Text Theme from here.
When I import the theme, the colors change except for the variable names and the std namespace. Those revert to black for some inexplicable reason. I have tried installing other themes/color schemes and all have the aforementioned problem. I have attempted to go into options and change the font color for variables/namespaces to the desired color. It will revert to black as soon as I leave options.
I have opened and closed VS 2012, rebooted my computer, and attempted the use of other .cpp files with no avail.
I can make the colors display properly by typing a character on line one and moving the #include <iostream> down a line. You can see the difference in the attached photo. Any thoughts on what is causing this or how to fix the problem?
PS, I can't add the photo to my post as a new member, so here's the link to imgur.
I have found the solution to this problem.
For some strange reason the theme is not imported correctly.
You can manually change the color of the "c++ Local variables" and the "c++ namespace" color by going to options -> enviroment -> fonts and colors.
I had the same problem. The way I solved it was by changing the theme from light to dark.
Check this thread to see how:
https://stackoverflow.com/a/9596223/1426601

MFC toolbox control

I'm totally new to MFC. In fact I haven't even written anything in it yet.
I'm looking for a control similar to the one found here: http://sourceforge.net/dbimage.php?id=48455
"Toolbox", left hand side.
The CMFCOutlookBar is somewhat close but the images are quite large and the text appears beneath the icon, not beside it. Looking at the button adding functions I don't see any way to change that.
So, is there a prebuilt component in the MFC lib that does what I want?
VS2010 - featurepack stuff is included.
BCGSoft has this component:
http://www.bcgsoft.com/featuretour/tour168.htm

C++ Keywords not Colored in Emacs

I have been using emacs for a while for mainly python programming, and have started C++ coding with it. When I open a c++ file, it opens without problems with c++-mode. The background and foreground colors are normal for the theme I have with color-theme, but keywords and strings are not colored differently. Below is the code in my .emacs to initialize color-theme.
(add-to-list 'load-path "D:\\emacs\\color-theme-6.6.0")
(require 'color-theme)
(color-theme-initialize)
(setq color-theme-is-global t)
(color-theme-hober)
I have not put in any code for c++. Any ideas?
Edit: I tried turning off color-theme to see if at least then there would be some coloring, and there was not, even after ensuring font-lock-mode was on. Also, this is GNU Emacs 23.1.1
Place the cursor over a keyword and do M-x describe-face. The face should be identified as font-lock-keyword-face and the description of the face given. At that point it should be easier to determine whether the keyword has the wrong face, or the face just has a default appearance. You could also double-check that font-lock-mode is on with describe-mode.
I finally got syntax highlighting by removing a folder called site-lisp from the folder d:/emacs. My Emacs installation is in d:/emacs/emacs-23.1, and somehow it was reading from these files. So, removing this folder forced Emacs to use the correct ones, I think.
(font-lock-mode) should help (with non negative argument to make sure it's turned on)
Generally this should work straight out of the box on a standard install - to verify start emacs with the "-q" option to avoid loading stuff from your init file. I have verified this with a quick install (on XP Pro) of the official 23.2 binaries. Here's the output: (apparently can't post images due to low reputation - the link is img444.imageshack.us/img444/2680/46117077.png).
If this displays code as you expect, then there's an issue with your init file - I suggest using the standard approach of commenting everything out and selectively adding things back in, until you come across the offending line(s).