Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Not seeing ScannerInfoProvider called on 4.0 M6

Hi Mikhail,

I have opened 182205 regarding this. There is a secondary problem with scanner info also described. I have some model questions for you, but it would help if you followed the steps in the bug first so you will be able to see what I am asking about.

Thanks,

-- Jeff J.

Sennikovsky, Mikhail wrote:
Hi Jeff,

The custom ScannerInfoProvider functionality should be working.
Could you create a bug regarding this and describe the way you are
creating the project (a test case would be very useful), and I'll take a
look into this.

Thanks,
Mikhail

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Jeff Johnston
Sent: Wednesday, April 11, 2007 12:06 AM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Not seeing ScannerInfoProvider called on 4.0 M6

In porting the Autotools plugin project to work on 4.0 M6, I've run into

a problem. I provide a ScannerInfoProvider via the org.eclipse.cdt.core.ScannerInfoProvider extension, however, my provider

never gets called - for example, when I click on stdio.h in the Outline view for a simple hello world source file. It should be enough to just use the default include path settings for the gcc compiler in this particular case. FWIW: I am currently using my own toolchain which I needed to create to get past the creation Wizard (it didn't like the fact that my old buildDefinition configuration didn't have one). The toolchain is essentially a place-holder.

I tried monkeying around with the ScannerDiscoveryProfile setting for the project. I changed it to Configuration-wide and tried setting it to

the two StdMake profiles.  This seemed appropriate because the Autotools

plugin actually has a Makefile and the true includePaths and definedSymbols need to be extracted from the build.

Can anybody give me a pointer as to what I need to look at? Is there a way I can configure to use the Std Make Discovery? My code essentially performs the same functiona. It also has logic to chain header files together (e.g. clicking a header file inside stdio.h's Outline view uses

the same include path as was discovered for the original source file which led to stdio.h's location).

-- Jeff J.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev




Back to the top