Skip to content

[folding] place folding actions inside editor #50359

Closed

Description

@jcklpe

Hi, I'm a UX designer who is new to vscode and have been learning code for the past year and a half.

I really like the customizability of VScode! but there's one thing I wish I could change with how code folding works.

To my knowledge no other code editor does this, so perhaps it's a silly idea but I think it would be easier to follow the nesting of code if the button to fold and unfold code were next to the actual guidelines.

Here is what my current set up looks like. I'm using the Guides and Bracket's Colorizer extensions to better highlight nesting/sections of code.

image

And here's what I would propose instead.

image

My ideal would be for the color of the code fold buttons to also be stylable so that something like the Bracket Colorizer extension could then match the color of the brackets to the color of the code folding button etc as pictured, but the concept remains the same even if you don't account for that.

Activity

  1. added
    editor-core
    on May 23, 2018
  2. changed the title [-][Feature Request] Get it out of the gutter! It would be nice to have the ability to see folder folding icons next to the guides which they effect. [/-] [+][feature-request] Get it out of the gutter! It would be nice to have the ability to see folder folding icons next to the guides which they effect. [/+] on May 23, 2018
  3. changed the title [-][feature-request] Get it out of the gutter! It would be nice to have the ability to see folder folding icons next to the guides which they effect. [/-] [+][folding] place folding actions inside editor[/+] on May 28, 2018
  4. aeschli commented on May 28, 2018

    @aeschli
    Contributor

    Keeping it open to collect votes, but to be honest, that would be quite some work to implement.

  5. jcklpe commented on May 28, 2018

    @jcklpe
    Author
  6. jcklpe commented on May 28, 2018

    @jcklpe
    Author

    Hey Martin Aeschlimann (@aeschli) I decided to look up and see if there were any additional ways I could customize my code folding icons and I found this issue by you: #2948

    The 2nd one with the hierarchical view is EXACTLY what I would like to see. It's even better because it's got the guides directly connected. I love it!

  7. added
    feature-request
    on Sep 21, 2018
  8. jcklpe commented on Apr 20, 2019

    @jcklpe
    Author

    I also just realized that to be more clear was that the solution I liked best that was similar (but better thought out than mine) was the hierarchical solution # 2 by Brad Gashler (@bgashler1)

    I know that story is 3 years old and this story is a year old but I thought it was at least worth clarifying my thoughts as this thread is still open and might be useful documentation on the possible future feature. I'm still learning how to program Javascript but I might be able to learn writing extensions for vscode soon. I'd really like to tackle this if I can learn how so please don't think I'm just posting here to annoy y'all. I've hacked together some fairly neat tweaks using the js and css code injection extension and I'd like to actually learn how to work this stuff out properly and make it a real extension I can share with other people so hopefully eventually I'll learn that. Anyway thanks!

  9. jcklpe commented on Aug 17, 2019

    @jcklpe
    Author

    Made a comment in another thread and decided to make an updated mockup for this issue , so I thought I'd also drop that updated mock up here too:

    sketch
    sketch2

  10. added
    *out-of-scope
    on Oct 9, 2019
  11. vscodebot commented on Oct 9, 2019

    @vscodebot

    This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

    If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

    Thanks for your understanding and happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*out-of-scopeeditor-coreeditor-foldingfeature-request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions