there's a side effect :
consider this as the contents of a header file :
#ifndef _NETSAL_H_INCLUDED_
#define _NETSAL_H_INCLUDED_
namespace ns
{
class CTest
{
CTest();
};
} // namespace ns
#endif // _NETSAL_H_INCLUDED_
When it was initially not folded at all, and I turn on the fold of the preprocessor, then when I return to my editor, it is folded.
Not good : I allowed preprocessor stuff also to be folded, but it shouldn't be done automatically.
So now that my entire header is folded, let's continue the test : Back to the options and untick the preprocessor folding. Now when I arrive back in my editor, the preprocessor stuff is no longer folded (good) BUT in my example the namespace is folded --> NOT good.