Skip to content

Code block folding does not work properly if a code block starts right after the end of the previous one #1462

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

Open
Zhirong2022 opened this issue Apr 28, 2025 · 0 comments · May be fixed by #1513

Comments

@Zhirong2022
Copy link
Collaborator

Describe the bug

Open VSC SAS Extension base on Main branch. Code block folding does not work well if a code block starts right after the end of the previous one .

Steps to reproduce

1.Open VSC and new a .sas file
2.Type code
3.Fold code blocks

SAS code (if applicable)

data popstate;
	set pf70 pm70 pf80 pm80;
	label pop= 'Census Population In Millions';
title 'The SAS System';data popstate;
	set pf70 pm70 pf80 pm80;
	label pop= 'Census Population In Millions';
title 'The SAS System';data popstate;
	set pf70 pm70 pf80 pm80;
	label pop= 'Census Population In Millions';
title 'The SAS System';

Expected behavior

The second data block can be folded successfully

Screenshots

Image

Client OS

No response

Extension version

1.14.0

SAS version

No response

Additional context

No response

@scnwwu scnwwu linked a pull request Jun 6, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant