[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Outline view
|
> > In quick parse mode the Scanner does not go through the include
> > paths attempting to find the proper file.
> >
> > In order to get this to work we'd have to:
> > 1. Update CModelBuilder to get the IScannerInfo
> > 2. Update Scanner to search for inclusions but not actually
> > tokenize the contents.
> >
>
> Is this for 2.0 ?
If demand asks for it, yes.
> For 1.2, the code was changed at the introduction of
> IScannerInfoProvider to
> let the Outliner do this by itself, 'till we figure
> out the best approach.
>
> See: OpenIncludeAction.java
Cool, I see what you have there and it should work for the time being.
What I was writing about was that IASTInclusion::getFullFileName() returns
an empty string in QUICK_PARSE mode. I had assumed that the action you
spoke about was being brokered through the content of the parse.
Post 1.2, I will share a whole bunch of ideas on how to improve the
outline
view's content to make it more consistent with the rest of the
AST-dependent
features (Search & Refactoring in particular).
JohnC