Skip to content

[folding] fold all but comments #48556

Open
@kraftwer1

Description

@kraftwer1

Now that we have syntax aware folding, I wonder if we could prevent comments from being folded (configurable, if wanted).

This would enable to get an overview of a file very quickly.

Now

/** ...
reload() { ...
}

Desired

/**
 * This important comment documents the signature of `reload()`
 * @param force Enforce reloading
 */
reload(force: boolean) { ...
}

Metadata

Metadata

Assignees

Labels

editor-commentsEditor commenting/uncommenting commandseditor-foldingEditor code folding issuesfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions