Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-patch] OpenInclude - Search Local Includes

Actually while PR 51355 is a little more general (discussing searching
the local project).  This patch actually address the _exact_ problem
of PR 46263.

Thanks,
 Thomas

Thomas Fletcher <thomasf@xxxxxxx> said:
> 
> Folks,
> 
>   This is an updated patch for the OpenIncludeAction which hangs
> off of the Outline View.  Unlike last time this one tries to stick
> to the "your project should be configured properly" consistancy
> rules =;-)
> 
>   The current version will not search the directory location of the
> current file for local "" include files.  This patch always searches
> the local directory, but has a provision for doing the correct thing
> when I figure out what the correct way to get an Include from an
> ICElement (see post in cdt-dev/core) =;-)
> 
>   Additionally this patch still includes the more efficient search 
> of the local project for when there is no scanner information provided.
> This will all get rolled into the scanner class so that we all have
> a common location for getting at these things, but for now this is a
> small patch to address PR 51355.
> 
> For the ChangeLog
> 
> - Add the local directory as part of the include paths for local 
>   include statements.  PR 51355
> 
> 
> 
> 



-- 





Back to the top