You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An additional request on top of now-closed feature-request 11524.
I sometimes like to write my block comments in this form:
let someflag : boolean = false;/*
this flag does blah blah
blah blah blah blah*/
let somethingelse : string;
So that folding that comment completely removes it from view outside of that trailing start marker. However, the implementation to feature-request 11524 does not detect this type of block comment and only seems to pick up on block comments started on their own new line. I am not sure how popular that style of commenting is, but it would help me a lot of it could be picked up by that feature.
Thanks.
The text was updated successfully, but these errors were encountered:
aeschli
changed the title
Collapse block comment when started not as new line
Allow folding block comment that starts in the middle of the line
Jan 29, 2018
Hi Martin. Thanks for the reply. Sorry about the markup in my example, but lines 2 and 3 above should be indented, but they didn't come out right in the GitHub comment editor thing. If indented properly, the code does actually fold if you click the +/- markers in the left margin. My issue was specifically with the auto-folding for comments feature (cmd K cmd /), which does not pick up this kind of commenting.
aeschli
changed the title
Allow folding block comment that starts in the middle of the line
[folding] Allow folding block comment that starts in the middle of the line
Sep 21, 2018
An additional request on top of now-closed feature-request 11524.
I sometimes like to write my block comments in this form:
So that folding that comment completely removes it from view outside of that trailing start marker. However, the implementation to feature-request 11524 does not detect this type of block comment and only seems to pick up on block comments started on their own new line. I am not sure how popular that style of commenting is, but it would help me a lot of it could be picked up by that feature.
Thanks.
The text was updated successfully, but these errors were encountered: