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] show folding actions at the end of folding range as well #60670

Open
WhatFreshHellIsThis opened this issue Oct 11, 2018 · 5 comments
Open
Assignees
Labels
editor-folding Editor code folding issues feature-request Request for new features or functionality
Milestone

Comments

@WhatFreshHellIsThis
Copy link

This is for C# but may affect others I'm not sure:
Having a large complex code block and wanting to fold it requires always scrolling to the top of the region to collapse it. There should be an identical folding icon that allows to fold from the bottom of the region.

@vscodebot vscodebot bot added the editor-folding Editor code folding issues label Oct 11, 2018
@vscodebot
Copy link

vscodebot bot commented Oct 11, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@WhatFreshHellIsThis
Copy link
Author

Thanks bot, I don't see this anywhere in those possible duplicates.

@aeschli aeschli changed the title Regions / Foldering show collapse icon at *BOTTOM* of region, not just at top (c#) [folding] show folding actions at the end of folding range as well Oct 12, 2018
@aeschli aeschli added the feature-request Request for new features or functionality label Oct 12, 2018
@aeschli aeschli added this to the Backlog milestone Oct 12, 2018
@gjsjohnmurray
Copy link
Contributor

@WhatFreshHellIsThis you might find The Folding Stuff useful. It's a small extension I created that surfaces folding commands on the context menu.

@aeschli
Copy link
Contributor

aeschli commented Oct 3, 2019

See PR #77363

@starball5
Copy link

Related on Stack Overflow: How can I fold code blocks by clicking on the line number at the end of the folding range in VS Code?.

Also, how does this work for languages like Python, where I thought multiple folding ranges can have different starting line, but the same ending line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-folding Editor code folding issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants