-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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] Support Shift+Click on folding marker to recursively unfold #16517
Comments
I have been using the [command] + [k], [command] + [0] command to collapse my code. When you do this all of the code in the file is recursively collapsed. Being able to recursively expand would save me a lot of time clicking the expand button! |
There already us 'Unfold recursively (Ctrl+k Ctrl + ])'. Is that what you meant? |
Yes this is what I mean! Except that you must have your cursor in the code block already for it to work. I was hoping for this same effect to happen when you click the '+' or 'unfold/expand' icon on the line when accompanied by some keypress |
I updated the title. I picked 'shift' as modifier key, feel free to change it to the key of your choice |
Hello! Is there anyway we can bump this? |
We'd need more requests ('thumbs ups') from others for the feature. I'm also happy to accept a pull request. |
Ok that's fair thanks for the quick reply |
I'm interested in implementing this, however I would prefer to use middle mouse click (like jetbrains IDEs), and for it to also allow recursively folding. @EthanMelamed @aeschli Would y'all be ok with this? |
Hey thanks for doing that and sorry for the late reply, middle mouse click is nice but it doesn't help trackpad users, would it be hard to implement something for trackpad users like myself? |
@adenflorian Yes, sounds great, thanks! I added 'shift + click' also works to recursively fold/unfold. |
@aeschli 'shift + click' sounds awesome! I looked at the merge pr but didnt see anything about it though. Is there another pr that has it? |
@EthanMelamed It's in this commit: 12c6aaa |
Great thanks for linking it! |
Please add the ability to recursively expand code blocks by clicking on the expand icon. Perhaps a shift+click would be an intuitive event to trigger this.
The text was updated successfully, but these errors were encountered: