vscode-explicit-folding icon indicating copy to clipboard operation
vscode-explicit-folding copied to clipboard

can I maintain "editor.foldingStrategy": "indentation"

Open nolanjj opened this issue 1 year ago • 2 comments
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 image

How to achieve this,thank you.

nolanjj avatar Jun 02 '24 09:06 nolanjj

You have to use the Indentation rule

"explicitFolding.rules": {
	"*": [
		...
		{
			"indentation": true
		}
	]
}

daiyam avatar Jun 02 '24 10:06 daiyam

You have to use the Indentation rule

"explicitFolding.rules": {
	"*": [
		...
		{
			"indentation": true
		}
	]
}

grateful!!!

nolanjj avatar Jun 02 '24 13:06 nolanjj