Skip to main content



      Home
Home » Newcomers » Newcomers » Question - Indexing versus Perspectives
Question - Indexing versus Perspectives [message #268211] Thu, 29 January 2009 16:16 Go to next message
Eclipse UserFriend
Hello;

I am posting here hoping that someone will point me in the right
direction.

First OMG Eclipse is fantastic. I am only using the editor features
at this point but having compare history built-in, and outline, and
call heirarchy is fantastic..

Now to my problems however minor.

I am programming for 8051 targets with Keil Compiler. So there are
a number of keywords that are not recognized and indexed by Eclipse.

I want to modify Eclipse so it understands the language variances and
indexes them so the outliner and call heirarchy function properly.

Let me state here, that what the indexer misses does not show up in the
outliner or call heirarchy. For example:

a function prototype for an ISR

void isr_interrupt0(void);

the corresponding function declaration for an ISR (this is KEIL C51!)

void isr_interrupt0(void) interrupt VECTOR12
{
}

So what is seen in the indexer is the prototype (I think because it passes
the ANSI C syntax and I am using a C/C++ perspective)...BUT the
declaration
is not shown in the outline view because of the (I believe) unrecognized
keywords or formatting of the function declaration.

Where do I address this issue? Is this done by creating a perspective? Or
is there some underlying indexer stuff that I need to modify...I saw a
video
presentation on the CDT where the guys said the indexer is custom
built...I just dont have a good block diagram of how this all fits
together..Where do I find that?

Cheers,
Rob
Re: Question - Indexing versus Perspectives [message #268231 is a reply to message #268211] Fri, 30 January 2009 12:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Since these questions are very specific to the C/C++ Development Tools
(CDT), you will probably get more response posting this to the
eclipse.tools.cdt newsgroup.

Eric


On 1/29/2009 4:16 PM, Rob wrote:
> Hello;
>
> I am posting here hoping that someone will point me in the right
> direction.
>
> First OMG Eclipse is fantastic. I am only using the editor features
> at this point but having compare history built-in, and outline, and
> call heirarchy is fantastic..
>
> Now to my problems however minor.
>
> I am programming for 8051 targets with Keil Compiler. So there are
> a number of keywords that are not recognized and indexed by Eclipse.
>
> I want to modify Eclipse so it understands the language variances and
> indexes them so the outliner and call heirarchy function properly.
>
> Let me state here, that what the indexer misses does not show up in the
> outliner or call heirarchy. For example:
>
> a function prototype for an ISR
>
> void isr_interrupt0(void);
>
> the corresponding function declaration for an ISR (this is KEIL C51!)
>
> void isr_interrupt0(void) interrupt VECTOR12
> {
> }
>
> So what is seen in the indexer is the prototype (I think because it passes
> the ANSI C syntax and I am using a C/C++ perspective)...BUT the
> declaration is not shown in the outline view because of the (I believe)
> unrecognized keywords or formatting of the function declaration.
>
> Where do I address this issue? Is this done by creating a perspective?
> Or is there some underlying indexer stuff that I need to modify...I saw
> a video
> presentation on the CDT where the guys said the indexer is custom
> built...I just dont have a good block diagram of how this all fits
> together..Where do I find that?
>
> Cheers,
> Rob
>
>
>
>
Re: Question - Indexing versus Perspectives [message #268237 is a reply to message #268231] Fri, 30 January 2009 15:33 Go to previous messageGo to next message
Eclipse UserFriend
Yah, I did. No response yet though..Feel like I am asking the
wrong question?

Rob
Re: Question - Indexing versus Perspectives [message #268241 is a reply to message #268237] Fri, 30 January 2009 22:36 Go to previous message
Eclipse UserFriend
You will find my answer here on this subject.

http://www.eclipse.org/newsportal/article.php?id=18000&g roup=eclipse.tools.cdt#18000
Previous Topic:Adding "Vertical ScrollBar" to a "TabFolder"
Next Topic:Settind database connection to a jar file
Goto Forum:
  


Current Time: Mon Nov 10 13:25:56 EST 2025

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

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

Back to the top