Eclipse CDT outline view does not work for imported C++ files

Posted on 2007-10-18
Last Modified: 2013-12-15
I am using Eclipse 3.3.0 and CDT 4.0.1  and subclipse 1.2.4

My problem is that for all C++ files (e.g. tableModel.C) checked out from my subversion server via subclipse the Eclipse outline view remains empty. However, If I manually create a new C++ project within Eclipse and one test file main.C and copy the contents of tableModel.C into main.C, then for main.C the outline view is nicely populated with all symbols, functions etc.

How can I have the same behaviour for my checked-out projects? Is there a project setting or something similar which I may have overlooked?

Oh, and *I* am not a guru on this subject as I mistakenly indicated. I rather think it needs a guru to answer it 8v).

Question by:fritzke
    LVL 10

    Accepted Solution



    Have you created also a C/C++ project for the Subversion repository?
    If the C/C++ files are not in a C/C++ project I don't think the C outline will work.
    I believe the same holds true if you have a different perspective than C/C++ active.


    Author Comment

    That worked. Specifically I had used the option

    - "Check out as a project in the workspace" and the outline view did not work in this case.

    Now I am using

    - "Check out as a project configured using the New Project Wizard"

    everything seems to be fine. I only have to type in the project name by hand with the second option whereas in the first case it was automatically preset to be the same as in the SVN repository.


    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
    Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now