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
The icons now used for code expansion in Insiders 1.37.0 are essentially a '>' or a '>' rotated through 90 degrees.
when looking at code that uses '>' (e.g. HTML) and code is collapsed, there is visual confusion as it can appear there is a misplaced '>' in code...
e.g. in the code below on line 10
IMHO the original icons used were fine and did not need changing... at the very least, could they be coloured differently to easily distinguish from code at a glance?
Reacted by Pine, kanlukasz, Bjön Limell, Alex Coaper, badunius, Brad, John Lafitte, Christopher Stöckl, Anton, Ignaz Kevenaar and 84 more
Reacted by Jun Han, Joshua Sleeper, kanlukasz and blundster
This is someone creating confusing UX in their attempt to accomplish their idea of "pretty UI".
It's also an example of solutionism; Putting forth solutions to problems that don't exist. There was never any usability issue with the old expand/close icons.
Reacted by John Lafitte, e4e, Rob McInnes, Etienne Bourque, Cuyler Stuwe, Sonoma Phis, NDH, Serhii Kovalchuk, Thomas Darling, Daedalus and 26 more
Or perhaps give the option to switch between new and old style icons.
I personally preferred the old style, as that is a convention used across many editors for many, many years.
Reacted by Cășvan Marcel, Vishwesh J, Sonoma Phis, cdmgtri, Serhii Kovalchuk, Jesse, Aluísio Augusto Silva Gonçalves, Sachin Hegde, Thomas Darling, cicin and 15 more
+1 to this, So many issues with the icons overall 😞. Best would be to give a opt-in for older set of icons or provide a way to make a selective change through either a set folder of icons or settings.json.
Reacted by Serhii Kovalchuk, Alex Coaper, Kyle Davis and Jack
Yikes, how hard is it to make the choice configurable? Yet here we are, stuck with these awful new icons that are even more inconsistent than the "problem" they were meant to fix.
Yikes, how hard is it to make the choice configurable? Yet here we are, stuck with these awful new icons that are even more inconsistent than the "problem" they were meant to fix.
At the very least give us the option to go back.
To be fair, limiting it to one option makes it easier to maintain if the system changes in the future. Technically, it is already configurable, you just have to source the icons yourself.
To be fair, limiting it to one option makes it easier to maintain if the system changes in the future. Technically, it is already configurable, you just have to source the icons yourself.
Looking at the icons through the devtools, it looks like they're SVGs. You'd have to override them with other SVGs, and some sort of CSS override -- how would one go about doing that?
LOL what have they done??? All the icons are stupid and ugly.. Revert everything to what it was please! Definitely included on this the left side bar icons.. Please. Also.. how do i downgrade till then?
I'm only strongly against bringing back the triangles on the tree and breadcrumbs, where the chevrons are much better.
Agreed, the chevrons are fine in the breadcrumbs and tree. Looks a little off with the Explorer section headers (Open Editors, Projectname, Outline, etc.), but I think I'll get used to it. They're not actually too bad for code folding either, since they only display when moused over, but it could be an option/setting/preference.
Reacted by Georgi Georgiev, Joshua Sleeper and Nguyễn Huỳnh Lợi
I am personally neutral on whether the folding icons should be +/- or a caret, but I do think it's worth bringing this issue to people's attention: #50359
While back I proposed that the code folding icons be more contextually placed in the editor. I did a quick mockup here:
I think there are quite a few ways that code folding could be improved on to improve their presentation, add more visual-semantic content, and clarify things like the hierarchy of given code. Just a thought.
While back I proposed that the code folding icons be more contextually placed in the editor. I did a quick mockup here:
This look is too heavy, too thick lines. In addition, it will mix with the GIT lines in gutter. Bad idea imho.
By the way, what you have shown in the example is more about Indent Guides match than Code folding
While back I proposed that the code folding icons be more contextually placed in the editor. I did a quick mockup here:
This look is too heavy, too thick lines. In addition, it will mix with the GIT lines in gutter. Bad idea imho.
By the way, what you have shown in the example is more about Indent Guides match than Code folding
The mockup is not a final treatment for styling. It's just a copy paste move around of a screenshot that took me less than a minute to get across the idea of nesting. Some of the styling you're seeing, such as the thick yellow line or the pink highlighting isn't even part of the functionality I'm proposing, it's just other extensions that I happen to have installed on my personal version of vscode.
And yes the location of the code folding buttons is related to the indent guides but the point of the mockup is to show how the code folding buttons are placed contextual to their indent guides rather than in the gutter.
Here's a neatened up version using the current chevron look and using a vanilla factory default styled version of vscode.
and with some code folded to show how it would look different.
Even this is not meant to give some kind of final proposal on what this thing should look like. In my opinion what needs to be done is for the the code folding styling to be opened up for people to change how they want. You'll never reach a consensus on chevron versus +/- because fundamentally there isn't a "right" answer for that stuff, it's purely a personal preference. The fact that there's a proposed alternative styling like what I propose above I think is a good addition to the argument that there should be more options for code folding.
Reacted by Alexander, Nguyễn Huỳnh Lợi and Joshua Herndon
I don't think that style would solve the problem,if there's HTML that happens to be the same colour as the chevron. It's more of an issue of how it looks when closed.
Of course, people have different tastes. And I personally prefer +/- over >. However, is it really so difficult to provide both as options for users to choose? Strange ...
I don't think that style would solve the problem,if there's HTML that happens to be the same colour as the chevron. It's more of an issue of how it looks when closed.
The colors for the chevron were chosen by me when I made the mockup. I made them match elements of the CSS syntax highlighting for the purposes of visual cohesiveness but if this kind of system were implemented it should obviously have [theme token APIs] exposed to make it customizable, similar to how layering of color in brackets it's determined by setting in Bracket Pair Colorizer.
Of course, people have different tastes. And I personally prefer +/- over >. However, is it really so difficult to provide both as options for users to choose? Strange ...
I agree, I think it would be best to have both. I imagine the main MS devs are not prioritizing giving users the option to choose that due to their interest or prioritization of other features in vscode. This is an open source project so if you want you can always attempt to make those changes yourself too! Maybe an extension would be a good way to start.
I should probably myself just build an extension to do the layered code folding the way I've suggested but I haven't because I'm not actually that good of a dev (I'm really more a designer who knows enough code to get themselves in trouble and annoy people on stack exchange lol). Maybe someday though!
Thanks everyone for the feedback. I think this icon issue falls under #79130 which will allow you to configure the icons to your own liking, so please upvote that issue. In trying to keep our issue count on a manageable level, I'm going to close this as a duplicate. If you have any additional comments please leave them in that issue. Thanks!
Activity
kanlukasz commentedon Aug 5, 2019
Oh, I see now where the problem is.
This is in fact problematic and it should undoubtedly be changed
coaperator commentedon Aug 8, 2019
Return +/- to collapse the code!
Is it really impossible to redraw +/- if you really wanted to put the icons in order ?!
cuylerstuwe commentedon Aug 9, 2019
This is someone creating confusing UX in their attempt to accomplish their idea of "pretty UI".
It's also an example of solutionism; Putting forth solutions to problems that don't exist. There was never any usability issue with the old expand/close icons.
mitiko commentedon Aug 9, 2019
The angle brackets are not cool looking. I like +/- better
Cirieno commentedon Aug 9, 2019
Or perhaps give the option to switch between new and old style icons.
I personally preferred the old style, as that is a convention used across many editors for many, many years.
lisa-tong commentedon Aug 9, 2019
If you're bringing back +/-, please keep the box outline! It was much more intuitive.
ErikHumphrey commentedon Aug 10, 2019
Oh, that's what they meant by +/- being changed to carets. Yeah, that's even worse than just using a solid triangle as an arrow. Bring +/- back!
ShinRai1090 commentedon Aug 11, 2019
+1 to this, So many issues with the icons overall 😞. Best would be to give a opt-in for older set of icons or provide a way to make a selective change through either a set folder of icons or settings.json.
MarkMcTernan commentedon Aug 11, 2019
Yikes, how hard is it to make the choice configurable? Yet here we are, stuck with these awful new icons that are even more inconsistent than the "problem" they were meant to fix.
At the very least give us the option to go back.
ErikHumphrey commentedon Aug 12, 2019
To be fair, limiting it to one option makes it easier to maintain if the system changes in the future. Technically, it is already configurable, you just have to source the icons yourself.
Cirieno commentedon Aug 12, 2019
Looking at the icons through the devtools, it looks like they're SVGs. You'd have to override them with other SVGs, and some sort of CSS override -- how would one go about doing that?
dmvvilela commentedon Aug 12, 2019
LOL what have they done??? All the icons are stupid and ugly.. Revert everything to what it was please! Definitely included on this the left side bar icons.. Please. Also.. how do i downgrade till then?
gjsjohnmurray commentedon Aug 12, 2019
#78748 (comment) has links to 1.36.1 kits.
You may also want to change the
update.modesetting to prevent an automatic upgrade.12 remaining items
ErikHumphrey commentedon Aug 16, 2019
Agreed, the chevrons are fine in the breadcrumbs and tree. Looks a little off with the Explorer section headers (Open Editors, Projectname, Outline, etc.), but I think I'll get used to it. They're not actually too bad for code folding either, since they only display when moused over, but it could be an option/setting/preference.
dmvvilela commentedon Aug 16, 2019
I hate it.. i prefer + and -.. Didnt exist the need to change that..
lllopo commentedon Aug 16, 2019
To be honest, I've override these in settings, so the themes can't mess with it on my setup.
Batalex commentedon Aug 16, 2019
This means there is an issue either with the icons or with the color themes ;)
jcklpe commentedon Aug 16, 2019
I am personally neutral on whether the folding icons should be +/- or a caret, but I do think it's worth bringing this issue to people's attention: #50359
While back I proposed that the code folding icons be more contextually placed in the editor. I did a quick mockup here:

I think there are quite a few ways that code folding could be improved on to improve their presentation, add more visual-semantic content, and clarify things like the hierarchy of given code. Just a thought.
kanlukasz commentedon Aug 17, 2019
This look is too heavy, too thick lines. In addition, it will mix with the GIT lines in gutter. Bad idea imho.
By the way, what you have shown in the example is more about Indent Guides match than Code folding
jcklpe commentedon Aug 17, 2019
The mockup is not a final treatment for styling. It's just a copy paste move around of a screenshot that took me less than a minute to get across the idea of nesting. Some of the styling you're seeing, such as the thick yellow line or the pink highlighting isn't even part of the functionality I'm proposing, it's just other extensions that I happen to have installed on my personal version of vscode.
And yes the location of the code folding buttons is related to the indent guides but the point of the mockup is to show how the code folding buttons are placed contextual to their indent guides rather than in the gutter.
jcklpe commentedon Aug 17, 2019
Here's a neatened up version using the current chevron look and using a vanilla factory default styled version of vscode.
and with some code folded to show how it would look different.
Even this is not meant to give some kind of final proposal on what this thing should look like. In my opinion what needs to be done is for the the code folding styling to be opened up for people to change how they want. You'll never reach a consensus on chevron versus +/- because fundamentally there isn't a "right" answer for that stuff, it's purely a personal preference. The fact that there's a proposed alternative styling like what I propose above I think is a good addition to the argument that there should be more options for code folding.
ErikHumphrey commentedon Aug 18, 2019
I don't think that style would solve the problem,if there's HTML that happens to be the same colour as the chevron. It's more of an issue of how it looks when closed.
QinBa commentedon Sep 28, 2019
Of course, people have different tastes. And I personally prefer +/- over >. However, is it really so difficult to provide both as options for users to choose? Strange ...
jcklpe commentedon Sep 28, 2019
The colors for the chevron were chosen by me when I made the mockup. I made them match elements of the CSS syntax highlighting for the purposes of visual cohesiveness but if this kind of system were implemented it should obviously have [theme token APIs] exposed to make it customizable, similar to how layering of color in brackets it's determined by setting in Bracket Pair Colorizer.
I agree, I think it would be best to have both. I imagine the main MS devs are not prioritizing giving users the option to choose that due to their interest or prioritization of other features in vscode. This is an open source project so if you want you can always attempt to make those changes yourself too! Maybe an extension would be a good way to start.
I should probably myself just build an extension to do the layered code folding the way I've suggested but I haven't because I'm not actually that good of a dev (I'm really more a designer who knows enough code to get themselves in trouble and annoy people on stack exchange lol). Maybe someday though!
miguelsolorio commentedon Oct 7, 2019
Thanks everyone for the feedback. I think this icon issue falls under #79130 which will allow you to configure the icons to your own liking, so please upvote that issue. In trying to keep our issue count on a manageable level, I'm going to close this as a duplicate. If you have any additional comments please leave them in that issue. Thanks!