-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Language Servicemore info neededThe issue report is not actionable in its current stateThe issue report is not actionable in its current state
Description
I've got some code like following
void func()
{ //<---- 1
if (1)
{ //<---- 2
if (1)
{
return;
}
#if 0
else
{
return;
}
#endif
if (1)
{
return;
}
}
}
- when code folding starts at point 1 or point 2, it ends before condition compile statetment (
#if 0) - condition compile statement works well start from
#ifend with#endif. But why this allows folding starts from#endif,end before the ending of function?
so, i got some questions:
- indentation seems the highest privilege folding strategy, in other editor like source insight, "bracket pairs" strategy works well.
- why
#endifcould be a start place for code folding ?
Metadata
Metadata
Assignees
Labels
Language Servicemore info neededThe issue report is not actionable in its current stateThe issue report is not actionable in its current state