K
KK
Dear All
Recently I started using VisualStudio2005 for my C++ development.Earlier I
was using 2003.
I found difference between these two version in showing the code outlining.
For example :
In VS2003
MyClass:: Method(int x, int y ) // We can collapse here
{
if( x < y ) // we can even collapse here also
{
//Do some thing
}
else // collapsible block
{
for( int k = 0; k < ( x-y); k ++ ) // Even for loop can be
collapsible
{
//Do some thing else here
}
}
}
but in 2005
the same above code looks like this
MyClass:: Method(int x, int y ) // We can collapse only here
{
if( x < y ) // not collapsible
{
//Do some thing
}
else // not collapsible
{
for( int k = 0; k < ( x-y); k ++ ) // not collapsible
{
//Do some thing else here
}
}
}
I feel the code outlining feature in 2003 is more useful than in 2005.
Is this a bug in 2005 version or do I need to set some settings?
How can apply the same settings as like in 2003 ( CO++ code outlining that
even outlines loops, conditional statements) to C# code also?
Recently I started using VisualStudio2005 for my C++ development.Earlier I
was using 2003.
I found difference between these two version in showing the code outlining.
For example :
In VS2003
MyClass:: Method(int x, int y ) // We can collapse here
{
if( x < y ) // we can even collapse here also
{
//Do some thing
}
else // collapsible block
{
for( int k = 0; k < ( x-y); k ++ ) // Even for loop can be
collapsible
{
//Do some thing else here
}
}
}
but in 2005
the same above code looks like this
MyClass:: Method(int x, int y ) // We can collapse only here
{
if( x < y ) // not collapsible
{
//Do some thing
}
else // not collapsible
{
for( int k = 0; k < ( x-y); k ++ ) // not collapsible
{
//Do some thing else here
}
}
}
I feel the code outlining feature in 2003 is more useful than in 2005.
Is this a bug in 2005 version or do I need to set some settings?
How can apply the same settings as like in 2003 ( CO++ code outlining that
even outlines loops, conditional statements) to C# code also?