Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[folding] Add setting to allow to show first N lines (not 1) of folded block #69078

Closed
4mitch opened this issue Feb 20, 2019 · 2 comments
Closed
Assignees
Labels
editor-folding Editor code folding issues feature-request Request for new features or functionality
Milestone

Comments

@4mitch
Copy link

4mitch commented Feb 20, 2019

During work with XML files I usually want to fold all complex elements of one type. And normally each of them has some ID element at the first-two position inside it.

At the moment I move such ID tags in one line with parent tag - to be able to see it when complex element is folded. But I'd like to have setting which allow me to show first N lines of each folded region.
May be language dependent.

@vscodebot vscodebot bot added the editor-folding Editor code folding issues label Feb 20, 2019
@aeschli aeschli added this to the Backlog milestone Feb 21, 2019
@aeschli aeschli added the feature-request Request for new features or functionality label Feb 21, 2019
@aeschli
Copy link
Contributor

aeschli commented Oct 9, 2019

I think the right approach is if we allow folding providers to define a custom text for the folded line: #70794. That way it can contain a summary that contains tags and id.

@aeschli aeschli closed this as completed Oct 9, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
editor-folding Editor code folding issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants