You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[folding] place folding actions inside editor #50359
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.
And here's what I would propose instead.
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.
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
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
Just out of curiosity and my own desire to learn, but what makes it difficult
to implement? My understanding is that VScode is an electron app, and so the app
is basically a website styled with CSS and manipulated with JS. I'm guessing
that the code folding indicators are not rendered in the same pane as the code
maybe? Or they would have to be absolute positioned and that would have to be
calculated based on some kind of measurement? Would it be possible to implement
the icons as before pseudo elements and then they could be placed relative to
the specific code chunks they've manipulating? I'm just spitballing. I'm
extremely ignorant of how this stuff works, but I'm curious to learn more.
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!
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!
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.
Activity
[-][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. [/+][-][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[/+]aeschli commentedon May 28, 2018
Keeping it open to collect votes, but to be honest, that would be quite some work to implement.
jcklpe commentedon May 28, 2018
jcklpe commentedon May 28, 2018
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!
jcklpe commentedon Apr 20, 2019
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!
jcklpe commentedon Aug 17, 2019
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:
vscodebot commentedon Oct 9, 2019
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!