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
Martin Aeschlimann (@aeschli) , sorry I'm not very confident with these language: you intend that I can apply these code on my local files to try the feature?
Am I missing where this can be disabled in settings?
Just saw the comment from Martin Aeschlimann (@aeschli) on PR #84955. What was the reasoning behind not requiring this be controlled by a setting? It's the first place I looked to disable the highlighting.
Activity
[-]Highlight of collapsed code[/-][+][foling] highlight folded line[/+][-][foling] highlight folded line[/-][+][folding] highlight folded line[/+]dbeigi commentedon Nov 7, 2019
Hi Martin Aeschlimann (@aeschli), I would like to give this a shot.
aeschli commentedon Nov 7, 2019
Daniel Beigi (@dbeigi) Great. Have a look at https://github.com/Microsoft/vscode/blob/master/src/vs/editor/contrib/folding/foldingModel.ts#L91
There we create a decoration that is used not only for the +/- action but alsofor the
...Righ now it starts at the last character.
A simple fix might be to have it start at character 0, and give it a background color
dbeigi commentedon Nov 8, 2019
Martin Aeschlimann (@aeschli) appreciate the direction
dbeigi commentedon Nov 13, 2019
Martin Aeschlimann (@aeschli) do you have any suggestions on adding the background color?
aeschli commentedon Nov 14, 2019
Stefano Consolaro (@mymage)
vscode/src/vs/editor/contrib/folding/foldingDecorations.ts
Line 13 in 53210ed
And in folding.css:
Now the remaining work is to make the color configurable.
vscode/src/vs/editor/contrib/find/findOptionsWidget.ts
Line 197 in 4e8ef4c
is an example on a css that is generated based on theme colors.
Fixed microsoft#83983 added highlight collapsed
mymage commentedon Nov 16, 2019
Martin Aeschlimann (@aeschli) , sorry I'm not very confident with these language: you intend that I can apply these code on my local files to try the feature?
aeschli commentedon Nov 18, 2019
Stefano Consolaro (@mymage) Sorry, no, this was just intended to help Daniel Beigi (@dbeigi) which offered to work on a PR implementing the feature.
Merge pull request #84955 from dbeigi/issue83983
ianwesterfield commentedon Jan 3, 2020
Am I missing where this can be disabled in settings?Just saw the comment from Martin Aeschlimann (@aeschli) on PR #84955. What was the reasoning behind not requiring this be controlled by a setting? It's the first place I looked to disable the highlighting.
usernamehw commentedon Jan 3, 2020
You can use transparent color:
The reason is probably because there's a lot of settings already.
folding highlight setting (for #83983)
aeschli commentedon Jan 5, 2020
I added a setting
editor.foldingHighlightaeschli commentedon Jan 28, 2020
To verify:
"editor.foldingHighlight": false