-
Notifications
You must be signed in to change notification settings - Fork 28.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collapse of source view is non-anticipatory. #4226
Comments
@jinyutao Maybe you can add a screenshot? To be more smart and to, for example, understand code blocks, we will have to go one step further and introduce language agnostic folding regions. We have issue #3422 for this. |
The langage agnostic folding would know that 'void fun()' is the start of a folding section, and '}' the end. |
If this issue matters to you, please head over to #3422 and hit the thumbs up! |
Steps to Reproduce:
Input source code
void fun()
{
int i=0;
ifdef ANY
i=1;
else
i=2;
endif
....
}
click the [-]icon left "{"
SHOW:
void fun()
{...
ifdef ANY
i=1;
else
i=2;
endif
....
}
RIGHT IS:
void fun()
{...
}
The text was updated successfully, but these errors were encountered: