Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Indexer with Index all files option.

Hello, I am new to cdt but I have worked extensively with VS + Visual Assist.
I am also facing the same problem. I have a workspace comprising of many
projects that compile to Dlls.

1) The problem is that one project I believe cannot access the data of
another (indexer wise). The workspace otherwise compiles and works fine. Can
you please tell me how to "link the folder into the project"?

2) Also, I have a function MakeGun() in a project that is not accessible
from the same project itself. MakeGun() is called in main() and the file
that defines main includes the file that defines MakeGun().

3) Also, Is there any way to make the indexer work with external files such
as stl code? In visual assist we can add more directories to index. Is there
any way to add more include directories for indexer? For example, content
assist does not provide any help with "STL list" objects.

4) Also, does content assist works with includes? When i type #include, it
does not suggests any system or project include files such as iostream. is
this behavior normal?

My indexer is set to do a "complete parse" on "all files". I have increased
the cache limit to 20%, 640 MB relatively. If it helps, I have attached the
project. http://www.nabble.com/file/p15475233/workspace%2Bcdt%2Bdll.7z
workspace+cdt+dll.7z 

Thanks for the help.


Schorn, Markus wrote:
> 
> Files from outside of the project are indexed on demand, only. To have
> an index for them you can:
>  
> -> link the folder into the project.
> -> more advanced (requires some coding): create a pre-parsed SDK for the
> header-files. There is
>     documentation on how to do this in the CDT Plug-in Developer Guide.
>  
> Markus.
> 
> 
> ________________________________
> 
> 	From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Janees Elamkulam
> 	Sent: Friday, February 08, 2008 1:16 PM
> 	To: CDT General developers list.
> 	Subject: [cdt-dev] Indexer with Index all files option.
> 	Importance: Low
> 	
> 	
> 
> 	Hi, 
> 	
> 	I have set index for a project to "Fast Indexer" with  "Index
> all Files" options, but it does not seems to index files that are
> included through project include path. 
> 	It this the expected behavior ? Is there a way to index these
> files ? 
> 	
> 	- Janees
> 	
> 	
> 
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 
> 

-- 
View this message in context: http://www.nabble.com/Indexer-with-Index-all-files-option.-tp15354226p15475233.html
Sent from the Eclipse CDT - Development mailing list archive at Nabble.com.



Back to the top