Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » 2.1 RC8 Folding and Outline with Overloaded functions
2.1 RC8 Folding and Outline with Overloaded functions [message #132262] Mon, 20 December 2004 04:26 Go to next message
Eclipse UserFriend
Originally posted by: an.nym.us

Let's say I have following in the same File :


void StateMachineState::CStateReady::NewStatus()
{
//blah blah
}

void StateMachineState::CStateError::NewStatus()
{
//blah blah
}

....::NewStatus()
{
}

The functions are declared as protected virtual in the classes and private
virtual the base class.


Folding and Outline only works for the first Function. Is this a known
limitaition or Bug ? If yes is it in the BugZilla, could not find it.
Is there a workaround (exept making a own file for each state ?

Do you have same Problems
Re: 2.1 RC8 Folding and Outline with Overloaded functions [message #132277 is a reply to message #132262] Mon, 20 December 2004 04:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: an.nym.us

Sascha wrote:

> Let's say I have following in the same File :


> void StateMachineState::CStateReady::NewStatus()
> {
> //blah blah
> }

> void StateMachineState::CStateError::NewStatus()
> {
> //blah blah
> }

> ....::NewStatus()
> {
> }

> The functions are declared as protected virtual in the classes and private
> virtual the base class.


> Folding and Outline only works for the first Function. Is this a known
> limitaition or Bug ? If yes is it in the BugZilla, could not find it.
> Is there a workaround (exept making a own file for each state ?

> Do you have same Problems

OK the Problem only appears if
"Follow #include's when parsing working copies" = ON
Re: 2.1 RC8 Folding and Outline with Overloaded functions [message #132289 is a reply to message #132277] Mon, 20 December 2004 04:37 Go to previous message
Eclipse UserFriend
Originally posted by: an.nym.us

Sascha wrote:

> Sascha wrote:

>> Let's say I have following in the same File :


>> void StateMachineState::CStateReady::NewStatus()
>> {
>> //blah blah
>> }

>> void StateMachineState::CStateError::NewStatus()
>> {
>> //blah blah
>> }

>> ....::NewStatus()
>> {
>> }

>> The functions are declared as protected virtual in the classes and private
>> virtual the base class.


>> Folding and Outline only works for the first Function. Is this a known
>> limitaition or Bug ? If yes is it in the BugZilla, could not find it.
>> Is there a workaround (exept making a own file for each state ?

>> Do you have same Problems

> OK the Problem only appears if
> "Follow #include's when parsing working copies" = ON


I would really appreciate to see

1. An Option "Follow #include's when parsing working copies" for ONE
Hirachy level.

2. Something like a SubClass in Outline

+CStateError
+--NewStatus()
+CStateReady
+--NewStatus()

because if "Follow #include's when parsing working copies"= OFF I can not
see wether the functions are public, private and those things ... this is
also not nice solution.
Previous Topic:Error:Invalid CDTProject owner extension
Next Topic:Is it possible to launch Eclipse from command-line with debug session arguments?
Goto Forum:
  


Current Time: Fri May 02 11:13:30 EDT 2025

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

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

Back to the top