syntax coloring not coloring comments [message #146643] |
Wed, 08 June 2005 18:18  |
Eclipse User |
|
|
|
The syntax coloring for my .cpp files doesn't work completely.
keywords such as if for and include etc are correct (bold and reddish)
"things in between quotes" are in blue, which is also correct
but comments are not green, as they are shown in the C/C++ editor
preferences
What is wrong?
|
|
|
|
|
Re: syntax coloring not coloring comments [message #146970 is a reply to message #146847] |
Wed, 15 June 2005 13:52  |
Eclipse User |
|
|
|
Originally posted by: devin_steffler.ca.ibm.com
Al,
Try upgrading to a newer version of CDT. Currently the CDT 3.0 M6 build is
available on the website. I just tried your example code in CDT from the
latest in CVS and the comments are highlighted with a green colour just
fine.
Hope this helps,
Devin
"Al" <allelopath@hotmail.com> wrote in message
news:fca84b0ee14cbb884dee38d55d446f2f$1@www.eclipse.org...
> The basic comment things:
>
> /**
> *
> * @memo constructor
> * this should be blue
> *
> */
>
> // or just one line like this should be green
>
> version is 2.0.1
>
> other languages are correct (Java, Fortran)
>
>
> Devin Steffler wrote:
>
> > Comments are green and working well for me. What version of CDT are you
> > using? Can you post an example of some code with comments that aren't
> > highlighted properly?
>
> > Thanks,
> > Devin
>
> > "al" <allelopath@hotmail.com> wrote in message
> > news:c4cf016e96303a15ffcbf32cbe941f94$1@www.eclipse.org...
> >> The syntax coloring for my .cpp files doesn't work completely.
> >> keywords such as if for and include etc are correct (bold and reddish)
> >> "things in between quotes" are in blue, which is also correct
> >> but comments are not green, as they are shown in the C/C++ editor
> >> preferences
> >>
> >> What is wrong?
> >>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03334 seconds