Skip to content

[folding] Support single shortcut for toggling fold/unfold #18549

@atlib77

Description

@atlib77

Currently we have the possibility to fold and unfold using different shortcuts.

I would like to have "editor.toggleFold" option as well so I can have a single shortcut for that (e.g. Ctrl+M, Ctrl+M as in VS.NET)

E.g.:
{
"key": "ctrl+1",
"command": "editor.toggleFold",
"when": "editorTextFocus"
}

That way, I only have to remember a single shortcut for this and matches various other functionality in vscode. (e.g. toggle line comments/block comments, etc).

A toggle case (upper and lower) would also be nice as mentioned here. #16895

Metadata

Metadata

Assignees

Labels

editor-foldingEditor code folding issuesfeature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions