Community
Participate
Working Groups
I'm using eclipse 3.1RC2 and latest CDT for 3.1. I have changed the default background colour to a dark blue and the default test to a gold-yellow colour. All the colouring with the C++ editor is working great, even with team- compare. However, I'm unable to edit all the colors within the makefile editor. There seems to be some some text that is the default black colour and I can't seem to locate a way to update it. I have gone through all the General- Exitors->Text_Editors settings as well, (this is where I set the new default colours). The problem seems to occur with lines that are continued with a back- slash and lines like: all: do something Lines like the following are hilited okay. EXE_EXT = .exe OBSJ = fred.o fred$(EXE_EXT): blah blah do something If the person fixing this problem would like me to send them a screen grab of the problem I can send this. Have Fun !! Shane Hill Shane dot Hill at dsto dot defence dot gov dot au
> If the person fixing this problem would like me to send them a screen grab of > the problem I can send this. Please do I do not understand the problem. For the settings of the Makefile look under Preferences -> C/C++ -> Make -> Makefile Editor
Created attachment 24117 [details] Sample of Black Text Problem Example screen cutout of problem number 01.
Created attachment 24118 [details] Another Sample of Black Text Problem Example screen cutout of problem number 02.
I Forgot to mention that I have gone through all the settings in Preferences -> C/C++ -> Make -> Makefile Editor None of the colours are set to black, but I still seem to get black text in the Makefile editor. Have a look at the attached GIF images. Have Fun !! Shane Hill
Just for info. This problem is still seen in CDT 3.0 RC3, which I have just installed. Have Fun !! Shane Hill
(In reply to comment #5) > Just for info. This problem is still seen in CDT 3.0 RC3, which I have just > installed. > Yes, it is unfortunate. But we simply lack time to do this in the 3.0 timeframe 8-(. Retarget for 3.1 > Have Fun !! > Thanks for bringing this up.
You can change default makefile editor colour by manually editing file: workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.make.ui.prefs Simply add line: org.eclipse.cdt.make.ui.editor.default=255,255,255
Thanks for the update. This works great. It has fixed the problem I was having. Just for your information, I have implemented this slightly differently to allow me to import the setting into other workspaces and on other machines easily. I used the export preferences feature to create a preference file. I then added the line based on your information above: /instance/org.eclipse.cdt.make.ui/org.eclipse.cdt.make.ui.editor.default=255,25 5,255 Then all I have to do is run "Import Preferences" using the newly edited file and the colour is updated. Thanks for the help. Shane Hill
*** Bug 109238 has been marked as a duplicate of this bug. ***
Bugs still assigned to the inbox can not have the target milestone set. If someone is really going to fix this in 3.1, please assign it to yourself.
This one is older, but the other has a patch. *** This bug has been marked as a duplicate of 148436 ***