-
Notifications
You must be signed in to change notification settings - Fork 28.7k
-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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] highlight folded line #83983
Comments
Hi @aeschli, I would like to give this a shot. |
@dbeigi Great. Have a look at https://github.com/Microsoft/vscode/blob/master/src/vs/editor/contrib/folding/foldingModel.ts#L91 |
@aeschli appreciate the direction |
@aeschli do you have any suggestions on adding the background color? |
And in folding.css: .monaco-editor .folded-background {
background-color: yellow;
} Now the remaining work is to make the color configurable.
is an example on a css that is generated based on theme colors. |
@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? |
Fixed #83983 added highlight collapsed
You can use transparent color: "workbench.colorCustomizations": {
"editor.foldBackground": "#fff0",
} The reason is probably because there's a lot of settings already. |
I added a setting |
To verify:
|
It would be useful if the collapsed lines were highlighted.
Actual code expanded:
Actual code collapsed:
Proposal for an highlight of collapsed code:
Perfect if with color highlight configurable on settings.
Thanks
The text was updated successfully, but these errors were encountered: