Skip to content

Code Block Folding Separated by comment #1650

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

Closed
3 tasks done
envyst opened this issue Nov 8, 2022 · 1 comment
Closed
3 tasks done

Code Block Folding Separated by comment #1650

envyst opened this issue Nov 8, 2022 · 1 comment
Assignees
Labels
conclusion: duplicate Has already been submitted topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project

Comments

@envyst
Copy link

envyst commented Nov 8, 2022

Describe the problem

Code block folding separated by comment between code line

To reproduce

write a comment between code line
image

Expected behavior

Code folding fold 1 block entirely, not separated.

Arduino IDE version

2.0.1

Operating system

Windows

Operating system version

Windows 11 22H2

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@envyst envyst added the type: imperfection Perceived defect in any part of project label Nov 8, 2022
@per1234
Copy link
Contributor

per1234 commented Nov 8, 2022

Hi @envyst. Thanks for taking the time to submit an issue.

I see we have another report about this at #568.

Please note that the folding failure shown in your example is not directly related to the use of comments. It is caused by the incorrect indentation of those comments.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2022
@per1234 per1234 self-assigned this Nov 8, 2022
@per1234 per1234 added conclusion: duplicate Has already been submitted topic: infrastructure Related to project infrastructure labels Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants