August 27, 2010
 On 26/08/2010 21:43, Philippe Sigaud wrote:
>
>
> On Tue, Aug 24, 2010 at 15:24, Bob Cowdery <bob@bobcowdery.plus.com <mailto:bob@bobcowdery.plus.com>> wrote:
>
>     I might be on my way :-) .
>
> Good :) I just skimmed through the thread, so I don't know if you're
> still using Code::Blocks.
> I'm using it, and it highlights D code with no problem. For 10.05,
> it's in Settings > Editor > Syntax Highlighting > syntax highlighting
> for D (default color scheme)
> The keyword list might need to be updated a bit, maybe. I don't know
> if the original install has 'immutable' as a keyword, for example.
>
> Philippe
>
Hi Philippe

I'm running 10.05 but when I go to Syntax highlighting there is no 'D'
in the dropdown. I have C/C++, Squirrel, Windows Resource, XML. To get
some highlighting I just set the mask for C/C++ to include *.d. On the
code completion plugin it says only C/C++ is supported. What am I missing?

Thanks
Bob


August 27, 2010
CB doesn't officially have support for D (I don't see it in code completion either), afaik. But it does have syntax highlighting for it. I have about 30 or so different languages selectable in the highlighter, I think these came by default.

Bob Cowdery Wrote:

>  On 26/08/2010 21:43, Philippe Sigaud wrote:
> >
> >
> > On Tue, Aug 24, 2010 at 15:24, Bob Cowdery <bob@bobcowdery.plus.com <mailto:bob@bobcowdery.plus.com>> wrote:
> >
> >     I might be on my way :-) .
> >
> > Good :) I just skimmed through the thread, so I don't know if you're
> > still using Code::Blocks.
> > I'm using it, and it highlights D code with no problem. For 10.05,
> > it's in Settings > Editor > Syntax Highlighting > syntax highlighting
> > for D (default color scheme)
> > The keyword list might need to be updated a bit, maybe. I don't know
> > if the original install has 'immutable' as a keyword, for example.
> >
> > Philippe
> >
> Hi Philippe
> 
> I'm running 10.05 but when I go to Syntax highlighting there is no 'D'
> in the dropdown. I have C/C++, Squirrel, Windows Resource, XML. To get
> some highlighting I just set the mask for C/C++ to include *.d. On the
> code completion plugin it says only C/C++ is supported. What am I missing?
> 
> Thanks
> Bob
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
>   <head>
>     <meta content="text/html; charset=ISO-8859-1"
>       http-equiv="Content-Type">
>     <title></title>
>   </head>
>   <body bgcolor="#ffffff" text="#000000">
>     On 26/08/2010 21:43, Philippe Sigaud wrote:
>     <blockquote
>       cite="mid:AANLkTimj4AUp=MB-fVEFqsmsiK6DvsMMDXST8-FvfNHr@mail.gmail.com"
>       type="cite"><br>
>       <br>
>       <div class="gmail_quote">On Tue, Aug 24, 2010 at 15:24, Bob
>         Cowdery <span dir="ltr">&lt;<a moz-do-not-send="true"
>             href="mailto:bob@bobcowdery.plus.com">bob@bobcowdery.plus.com</a>&gt;</span>
>         wrote:<br>
>         <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
>           0.8ex; border-left: 1px solid rgb(204, 204, 204);
>           padding-left: 1ex;">
>           <div>I might be on my way :-) .<br>
>           </div>
>           <br>
>         </blockquote>
>         <div>Good :) I just skimmed through the thread, so I don't know
>           if you're still using Code::Blocks.<br>
>           I'm using it, and it highlights D code with no problem. For
>           10.05, it's in Settings &gt; Editor &gt; Syntax Highlighting
>           &gt; syntax highlighting for D (default color scheme)<br>
>           The keyword list might need to be updated a bit, maybe. I
>           don't know if the original install has 'immutable' as a
>           keyword, for example.<br>
>           <br>
>           Philippe<br>
>           <br>
>         </div>
>       </div>
>     </blockquote>
>     Hi Philippe<br>
>     <br>
>     I'm running 10.05 but when I go to Syntax highlighting there is no
>     'D' in the dropdown. I have C/C++, Squirrel, Windows Resource, XML.
>     To get some highlighting I just set the mask for C/C++ to include
>     *.d. On the code completion plugin it says only C/C++ is supported.
>     What am I missing?<br>
>     <br>
>     Thanks<br>
>     Bob<br>
>   </body>
> </html>
> 

August 27, 2010
On Fri, Aug 27, 2010 at 11:08, Bob Cowdery <bob@bobcowdery.plus.com>  wrote:

***
    I'm running 10.05 but when I go to Syntax highlighting there is no 'D' in the
dropdown. I have C/C++, Squirrel, Windows Resource, XML. To get some highlighting
I just set the mask for C/C++ to include *.d. On the code completion plugin it
says only C/C++ is supported. What am I missing?
***

? I have *dozens* of languages in this dropdown.
I've been using C::B for D since 2007-2008. Maybe they added files back then, and
when I regularly updated with svn versions these were not modifed, whereas they
are not part of the 10.05 distrib?

Anyway, I attached a zip file to this message with the D-related files I could find. It's the first time I do this on this NG, we'll see if that works.

Put the two lexer* files in CodeBlocks/share/CodeBlocks/lexer
Put the entire 'd' directory in CodeBlocks/share/CodeBlocks/templates/wizard

This directory are the instructions to create a new D (console) application when you create a new project. I have no D (Windows/GUI) wizard, but the structure is easy to understand. I'm pretty sure someone proficient enough can create the correct wizard for GUI applications.

Philippe
1 2 3
Next ›   Last »