sharing everything

Eclipse : add automatic include folder

Eclipse is a  C, C++, Java and other programming language editor. I use this editor to create program with C/C++. When I use this editor, I have a problem to add include directory to eclipse editor. Right click at your project folder in Eclipse and choose Properties (Alt+Enter).  Locate and click Paths and Symbols menu. This is a picture to add include directory to Eclipse :

Usually I use add button to add include directory location in Eclipse. When I want to add multiple directory, we must manually add that directory one by one because Eclipse dont have include directory with subdirectory :(.

We can use export and import settings to add multiple include directory to Eclipse. First, we click Export Settings button to open export dialog.

Fill Export to file input with your file output name. When we click Finish button, Eclipse will create a settings xml file. This is a example of content of this file :

If we want to add other include directory in C source, so we can add new include directory at bottom of text <language name=”C Source File”>. This is example if I want to add other include directory to Eclipse :

Save xml file and use import file. This is a dialog window to import new Eclipse setting file :

If import file success, so when we open property window Eclipse at menu Path and Symbols, we can get new include folder directory at Eclipse. When we want to use this include directory, we can use import method at our new project.

My name is Toto Sugito. This is my notes when I try something. Maybe, this is NOT THE BEST SOLUTION for your problems. If you have other method or idea that better with my post, please share in this blog. Thank for visiting my site.

5 Comments

  1. February 11, 2011    

    Wonderful information, trendy site design and style, carry on the great work

    • totosugito totosugito
      February 11, 2011    

      hi Judith, thank your for visiting my site.

  2. April 21, 2011    

    That’s 2 cevelr by half and 2×2 clever 4 me. Thanks!

  3. April 21, 2011    

    Howdy very nice site!! Man .. Excellent .. Superb .. I will bookmark your web site and take the feeds additionally¡KI am satisfied to seek out numerous helpful info here within the put up, we need develop more techniques in this regard, thanks for sharing. . . . . . Telegrafi

  4. April 21, 2011    

    I’m writing to make you be aware of what a terrific encounter my friend’s daughter developed viewing your site. She figured out so many details, which include what it’s like to have an awesome helping character to make folks effortlessly comprehend a variety of tortuous matters. You really exceeded readers’ desires. Many thanks for delivering these priceless, dependable, informative and in addition unique guidance on the topic to Emily Buscador de peliculas.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Categories

Bloggers - Meet Millions of Bloggers