"Source Location" disaster [message #270247] |
Mon, 13 April 2009 14:52 |
MichaelChen Messages: 7 Registered: July 2009 |
Junior Member |
|
|
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
|
|
|
Re: "Source Location" disaster [message #270253 is a reply to message #270247] |
Mon, 13 April 2009 17:47 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
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
|
|
|
Powered by
FUDForum. Page generated in 0.08137 seconds