Skip to content

Support for #region folding #284

Closed
Closed
@neitik

Description

@neitik

Hello, I would really like to see support for #region folding for Puppet manifests, as described here:
microsoft/vscode-python#33

This is supported out-of-box by VSCode and only a minor change is required to make it work it with Puppet manifests:

"folding": {
	"offSide": true,
	"markers": {
		"start": "^\\s*#region\\b",
		"end": "^\\s*#endregion\\b"
	}
}

The code is taken from aforementioned issue and tested locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions