EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

CrossStudio editor

Started by "r.jensenm" April 14, 2008
Hi!
Does anyone know how to assign a colour or make a keyword bold.

I have a typedefenition and wants uchar to be bold text

typedefunsigned char uchar;

In advance thank you

An Engineer's Guide to the LPC2100 Series

Hi,

> Does anyone know how to assign a colour or make a keyword bold.
>
> I have a typedefenition and wants uchar to be bold text
>
> typedefunsigned char uchar;
>
> In advance thank you

1. Select Tools > Options
2. Select Languages
3. Add your user-defined keywords to the User-Defined Keywords list.

Done.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors

Is there a way to define a wildcard? For example, I'd really like for
anything appended with "_t" to be treated as a keyword... It's a very
strict rule so nothing other than a typedef will have _t at the end.

Thanks :)
--- In l..., "Paul Curtis" wrote:
>
> Hi,
>
> > Does anyone know how to assign a colour or make a keyword bold.
> >
> > I have a typedefenition and wants uchar to be bold text
> >
> > typedefunsigned char uchar;
> >
> > In advance thank you
>
> 1. Select Tools > Options
> 2. Select Languages
> 3. Add your user-defined keywords to the User-Defined Keywords list.
>
> Done.
>
> --
> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
>

Hi,

> Is there a way to define a wildcard? For example, I'd really like for
> anything appended with "_t" to be treated as a keyword... It's a very
> strict rule so nothing other than a typedef will have _t at the end.

Short answer: No.

Long answer: Perhaps, if I add a regexp capability to User-Defined Keywords.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors

Hi,

> Is there a way to define a wildcard? For example, I'd really like for
> anything appended with "_t" to be treated as a keyword... It's a very
> strict rule so nothing other than a typedef will have _t at the end.

...should also say that this will probably be a moot point when type-based
coloring is introduced a la VA X.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors

Oooh... that's a teaser :) We're looking at picking up a second
license very soon. Will we need to upgrade to continue to use VA X?

Any idea on an ETA?

--- In l..., "Paul Curtis" wrote:
>
> Hi,
>
> > Is there a way to define a wildcard? For example, I'd really like for
> > anything appended with "_t" to be treated as a keyword... It's a very
> > strict rule so nothing other than a typedef will have _t at the end.
>
> ...should also say that this will probably be a moot point when
type-based
> coloring is introduced a la VA X.
>
> --
> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
>

Ok. I'll bite...

What is VA X ?

Ivan Vernot

> -----Original Message-----
> From: l... [mailto:l...] On Behalf
> Of Darcy
> Sent: Tuesday, 15 April 2008 9:15 AM
> To: l...
> Subject: [lpc2000] Re: CrossStudio editor
>
> Oooh... that's a teaser :) We're looking at picking up a second
> license very soon. Will we need to upgrade to continue to use VA X?
>
> Any idea on an ETA?
>
> --- In l..., "Paul Curtis" wrote:
> >
> > Hi,
> >
> > > Is there a way to define a wildcard? For example, I'd really like for
> > > anything appended with "_t" to be treated as a keyword... It's a very
> > > strict rule so nothing other than a typedef will have _t at the end.
> >
> > ...should also say that this will probably be a moot point when
> type-based
> > coloring is introduced a la VA X.
> >
> > --
> > Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> > CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
> >
I'm such a dunce :p

To the guy that also replied, "VA X" is "Visual Assist X" which is a
great pluggin for Visual Studio... which makes up for all of VS
deficiencies. I'd mentioned it to those guys earlier but for some
reason didn't click.

In other words, they're introducing a feature that adds the
colouring... I read it (for some stupid reason) as a new (i.e. 2.0)
version of CrossWorks. I have no idea why I didn't realise what Paul
was talking about :)

Nice idea Paul. Any chance of a bit of (intelligent) intelli-sense
being thrown in?
--- In l..., "Darcy" wrote:
>
> Oooh... that's a teaser :) We're looking at picking up a second
> license very soon. Will we need to upgrade to continue to use VA X?
>
> Any idea on an ETA?
>
> --- In l..., "Paul Curtis" wrote:
> >
> > Hi,
> >
> > > Is there a way to define a wildcard? For example, I'd really
like for
> > > anything appended with "_t" to be treated as a keyword... It's a
very
> > > strict rule so nothing other than a typedef will have _t at the end.
> >
> > ...should also say that this will probably be a moot point when
> type-based
> > coloring is introduced a la VA X.
> >
> > --
> > Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> > CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
>
Hi Darcy,

> To the guy that also replied, "VA X" is "Visual Assist X" which is a
> great pluggin for Visual Studio... which makes up for all of VS
> deficiencies. I'd mentioned it to those guys earlier but for some
> reason didn't click.

Actually, I was using VA X quite some time before you mentioned it. I
started out using WorkspaceWhiz, but Visual Assist X is much nicer (but a
little slower in many small ways). I have no idea why Microsoft don't just
bit the bullet and purchase Whole Tomato as it would make *everybody* that
uses C++ much happier--it makes more sense than trying to buy Yahoo! and all
those other unknown companies Ballmer has decided he must buy each year.

> In other words, they're introducing a feature that adds the
> colouring... I read it (for some stupid reason) as a new (i.e. 2.0)
> version of CrossWorks. I have no idea why I didn't realise what Paul
> was talking about :)
>
> Nice idea Paul. Any chance of a bit of (intelligent) intelli-sense
> being thrown in?

Given that object-based coloring requires an overview of the program, I
would say that something along the lines of intellisense can be built into
V2 at some point. It'll be a by-product of a source navigator upgrade.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors

--- In l..., "Darcy" wrote:
>
> Oooh... that's a teaser :) We're looking at picking up a second
> license very soon. Will we need to upgrade to continue to use VA X?
>
> Any idea on an ETA?

Can I add a bit of whimpering here too?

In October I heard "V2 should be with us in a couple of months for ARM..."

I hope I didn't delay the whole thing by introducing you to VA!

Will


The 2024 Embedded Online Conference