Closed tothedistance closed 2 years ago
For Python, you can try:
"[python]": {
"explicitFolding.rules": [
{
"beginRegex": "\"\"\"",
"endRegex": "\"\"\"",
},
{
"separatorRegex": "#\\s*%%"
},
{
"begin": "(",
"end": ")",
},
{
"indentation": true,
"offSide": true
}
]
},
@tothedistance Were you able to try the settings?
@tothedistance +1
This works well. Thanks! I even added this to fold on commented blocks.
{
"separatorRegex": "#\\s*"
},
For Python, you can try:
"[python]": { "explicitFolding.rules": [ { "beginRegex": "\"\"\"", "endRegex": "\"\"\"", }, { "separatorRegex": "#\\s*%%" }, { "begin": "(", "end": ")", }, { "indentation": true, "offSide": true } ] },
works great. didn't know why the email notification come to me so late
Describe the issue
I need to fold to () when calling functions with lots of parameters. but on the other hand, I need to fold according to indentation.
To reproduce
Code Example
Settings