-
Notifications
You must be signed in to change notification settings - Fork 29.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
Sticky Scroll Shadow/Border Customization #157185
Comments
I recently learned of |
For what it's worth I can see the shadow quite clearly (even in your screenshot). You probably aren't blind 😅 - rather I think your monitor's gamma may be set a bit dark (or your monitor is bad at colour reproduction, or you work in weird lighting conditions, or or or). If you're on windows you could run "Calibrate display color" and see if that helps. Even if it's just to test out my theory (mess around with the gamma slider to check things out, and then hit cancel). You may also be able to set gamma in your monitor's OSD. I still think this is a worthwhile request though! |
You can already modify that theme value in your settings. It's using the {
"workbench.colorCustomizations": {
"scrollbar.shadow": "#ff0000"
}
} |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
With Gruvbox Theme - Visual Studio Marketplace, I can't make out a shadow at all, on two different screens: It looks like that theme defines a I ended up configuring |
My theme didn't have any shadow either. Good to know about the background option. |
For anyone else just as confused as I am on how to personalize this, you can edit {
// ...
"editor.experimental.stickyScroll.enabled": true,
"workbench.colorCustomizations": {
"editorStickyScroll.background": "#181a1f",
"editorStickyScrollHover.background": "#272930"
}
}
|
Customizing the background color as described does make this feature more usable under my color theme, but I'd still appreciate the ability to make a harder border than I currently have. |
I would prefer showing class Foo
[...]
hello
world
[...]
_________________________
some other code |
I am using the high contrast dark mode that comes with VSCode, one would expect that one to have a visible difference between the sticky scroll and the rest of the code. I fixed it in my editor with |
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Thanks for sharing the trick! At the end the best result is by changing the background.
Thanks again! |
Especially in dark mode, it can be easy to miss that there's a shadow there (maybe I'm just blind).
Relavent section:
vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.ts
Line 343 in f1458c0
Would love if the box shadow and/or bottom-border was customizable in the theme.
The text was updated successfully, but these errors were encountered: