Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to index the files which are not under wokspace?
How to index the files which are not under wokspace? [message #770918] Sun, 25 December 2011 15:03 Go to next message
Eclipse UserFriend
Hello,

Could you please help me with one question related to CDT indexing?

I am searching for an article or any tips how to invoke indexing opration in CDT for the code which is outside of Eclipse workspace.

Is it possible at all?

Is there any CDT API to do that, for example to provide external paths?

Thanks in advance,

Vasily.

Re: How to index the files which are not under wokspace? [message #771194 is a reply to message #770918] Mon, 26 December 2011 11:18 Go to previous messageGo to next message
Eclipse UserFriend
Vasily Lukichev wrote on Sun, 25 December 2011 15:03
provide external paths?


Maybe this?

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-45.htm


Regards,
Klaus
Re: How to index the files which are not under wokspace? [message #774409 is a reply to message #771194] Tue, 03 January 2012 16:38 Go to previous message
Eclipse UserFriend
Hello Klaus,

No, it is not exactly what I am looking for. I do not want to link the folder. I do not want to "connect" external folder with the project.

I am mostly interested in the programming API. So, I have a plug-in from which I want to run indexing on a C/C++ files which are not under workspace.

I would like to have this http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fconcepts%2Fcdt_c_indexer.htm
But for the files which are not under workspace.

For example there is a tab for C/C++ project properties:
Description in help: C/C++ Development User Guide > Reference > C/C++ Properties > C/C++ Project properties > C/C++ General > Paths and Symbols page

Eclipse project properties -> C/C++ General -> Paths and Symbols.

But how to add external paths from my plug-in code?

Thanks,
Vasily.
Previous Topic:Adding per path include directives
Next Topic:Alternative build location for built dlls?
Goto Forum:
  


Current Time: Thu Jul 17 12:36:06 EDT 2025

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

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

Back to the top