Comments no longer allow indented folding #2612
Irmitya
started this conversation in
Enhancement
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment data
Expected behaviour
When code/text are indented under a comment, this would allow the code/text to be folded
Actual behaviour
The commented lines and their indentation are completely disregarded
Code Snippet / Additional information
These two classes are indented the same, and should fold the same, however only the uncommented class will fold.
The comments here should fold as well, however currently if I want to collapse
parse_comments
as intended, I would have to write them under code that would always run, such asif "text":
as inparse_code
.The comments here are placed between indentations, to allow stacked comments, and simply to avoid adding unnecessary indentations in the actual code.
Issue brought from item 4 of a comment in #2248
Beta Was this translation helpful? Give feedback.
All reactions