Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Syntax Coloring
Syntax Coloring [message #232443] Thu, 02 April 2009 03:29 Go to next message
Victor Ng is currently offline Victor NgFriend
Messages: 3
Registered: July 2009
Junior Member
Is there a way to export and import syntax color schemes in CDT under
eclipse or an external plugin?
Re: Syntax Coloring [message #232458 is a reply to message #232443] Thu, 02 April 2009 06:45 Go to previous messageGo to next message
Marko Klopcic is currently offline Marko KlopcicFriend
Messages: 16
Registered: July 2009
Junior Member
Victor Ng wrote:
> Is there a way to export and import syntax color schemes in CDT under
> eclipse or an external plugin?

I'm afraid there is no other way but to export ALL preferences:

File | Export | General | Preferences | Export All radio button.

There is definitely space for improvement in CDT and in Eclipse in general.

Marko
Re: Syntax Coloring [message #232466 is a reply to message #232458] Thu, 02 April 2009 07:00 Go to previous messageGo to next message
Victor Ng is currently offline Victor NgFriend
Messages: 3
Registered: July 2009
Junior Member
Yes you are right. I think this should be a feature of Eclipse CDT.

I have attempted to manually set the colors but I was confronted with the
complexity of this task: the presence of syntax coloring occurs at least
twice in Eclipse's preference menu: 1) One under editor, and the 2) other
occurs under CDT.

Does anyone have a good "tutorial" (or a guide) to set this up? It's very
frustrating

Also, does anyone have a good coloring scheme to post? The default black
on white is causing my eyes to deteriorate at a fast pace.
Re: Syntax Coloring [message #232510 is a reply to message #232466] Fri, 03 April 2009 01:07 Go to previous messageGo to next message
Mike Jackson is currently offline Mike JacksonFriend
Messages: 128
Registered: July 2009
Senior Member
On 2009-04-02 03:00:53 -0400, disappearedng@gmail.com (Victor Ng) said:

> Yes you are right. I think this should be a feature of Eclipse CDT.
>
> I have attempted to manually set the colors but I was confronted with
> the complexity of this task: the presence of syntax coloring occurs at
> least twice in Eclipse's preference menu: 1) One under editor, and the
> 2) other occurs under CDT.
> Does anyone have a good "tutorial" (or a guide) to set this up? It's
> very frustrating
>
> Also, does anyone have a good coloring scheme to post? The default
> black on white is causing my eyes to deteriorate at a fast pace.

I Generally use light colors (yellow, light green, light blue) on a
black background and has alleviated the eye strain I was having with
the defaults.

Mike Jackson
Re: Syntax Coloring [message #232542 is a reply to message #232510] Fri, 03 April 2009 12:25 Go to previous messageGo to next message
Victor Ng is currently offline Victor NgFriend
Messages: 3
Registered: July 2009
Junior Member
I did a similar color scheme as you have described above =)

However, I realize that I have to do the exact same thing with my second
computer ... and this just annoys the hell out of me because I have
changed the coloring in quite a few places...

I looked at the folder in plugins/ that contain *cdt*, but I can't
decipher where the settings are saved under. Would you happen to know
where CDT settings/preferences are saved?
Re: Syntax Coloring [message #232606 is a reply to message #232542] Mon, 06 April 2009 06:18 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Victor Ng wrote:

> I looked at the folder in plugins/ that contain *cdt*, but I can't
> decipher where the settings are saved under. Would you happen to know
> where CDT settings/preferences are saved?
Eclipse stores its settings in your workspace in
metadata/plugins/org.eclipse.core.runtime/.settings
One of the files there should contain the syntax coloring.

Axel


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Syntax Coloring [message #233286 is a reply to message #232606] Fri, 24 April 2009 23:06 Go to previous message
Henning Riedel is currently offline Henning RiedelFriend
Messages: 310
Registered: July 2009
Senior Member
Go to in Eclipse Menubar to File->Export->General->Preferences
Then on the other PC do File->Import->General->Preferences


Am 06/04/2009 08:18, schrieb Axel Mueller:
> Victor Ng wrote:
>
>> I looked at the folder in plugins/ that contain *cdt*, but I can't
>> decipher where the settings are saved under. Would you happen to know
>> where CDT settings/preferences are saved?
> Eclipse stores its settings in your workspace in
> metadata/plugins/org.eclipse.core.runtime/.settings
> One of the files there should contain the syntax coloring.
>
> Axel
>
Previous Topic:Problems launching external scanner info generator with cygwin
Next Topic:Create a new target/dependency
Goto Forum:
  


Current Time: Thu Apr 18 17:07:11 GMT 2024

Powered by FUDForum. Page generated in 0.02398 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top