[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: "Source Location" disaster

I've copied the eclipse.tools.cdt newsgroup where the C/C++ tools gurus hang out.

Eric


On 4/13/2009 10:52 AM, Mike wrote:
Hey, there,

In my C++ project "MYPROJECT", I have sources and head in many
subfolders. I have set "Include Path" to those subfolders, and
ctrl+click follows exactly. however for the "source location", it is
very troublesome. If I only have the MYORJECT folder in this tab,
sources in subfolders can not pop out with ctrl+click. If I set these
subfolders in this tab, for example
MYPROJECT/src/subfolder1/subbfolder11, then in the C++ prospective, I
will see MYPROJECT/subfolder1/subbfolder11, and I won't see /subfolder1
if I expand the MYPROJECT/src folder now. But I still can not access the
sources using ctrl+click. So I infer that I should not set up the
MYPROJECT/src/subfolder1/subbfolder11 in the "Source Location" tab,
hence I deleted it. Then in the C++ prospective, I no longer see
MYPROJECT/src/subfolder1/subbfolder11, and I cannot expand MYPROJECT/src
to get the subfolder neither. And i can not get them back to the C++
perspective. The subfoler1 is not deleted from the filesystem though.

Could anybody show me how to correctly set up the source location for a
C++ project with many subfolders? Thanks.

Mike