Closed icetbr closed 1 year ago
Try:
"explicitFolding.rules": {
"*": [
{
"begin": "/*",
"end": "*/",
"nested": false,
"kind": "comment",
},
],
},
You will be able to fold as:
class A {
/**
name,
/** The Age */
age,
}
I can get this without the extension, it's VsCode's default behavior.
There is no way to completely hide a block of code/comment.
Maybe, but I can get pretty close, if only I could get the new line regexes right.
{
"separator": ",",
},
class A {
/**...
name,...
age,
}
Another idea, if you desire to have this as a feature, just return the folding region as line -= 1. Then I would get something like this
class A {...
name,...
age,
}
Hi there, given this code
I want to get as close as possible to
I'd appreciate any ideas. Thanks.