vscode-explicit-folding
vscode-explicit-folding copied to clipboard
can I maintain "editor.foldingStrategy": "indentation"
trafficstars
my setting.json: "editor.foldingStrategy": "auto", "editor.defaultFoldingRangeProvider": "zokugun.explicit-folding", "explicitFolding.rules": { "*": [ { "begin": "{{{", "end": "}}}" }, { "begin": "{", "end" : "}" }, // { // "begin": "(", // "end" : ")" // }, ] },
it work well!,very convenient!!!
but I also want to maintain the feature of "indentation"
so I can
How to achieve this,thank you.
You have to use the Indentation rule
"explicitFolding.rules": {
"*": [
...
{
"indentation": true
}
]
}
You have to use the Indentation rule
"explicitFolding.rules": { "*": [ ... { "indentation": true } ] }
grateful!!!