This week's VS Code Tip of the Week is the new sticky scroll functionality.
The nice thing about this feature is as you scroll, you have the context to where you are in the code because the sections stick at the top, e.g. a class definition, method definition, etc.
This is a feature you need to enable. Open your VS Code settings and search for
sticky. Ensure Editor › Experimental › Sticky Scroll is enabled.
Check out this YouTube short care of Burke Holland on the VS Code YouTube channel.
Top comments (16)
Thank you! I didn't know that i want it ☺️
Thanks for sharing. Can you tell me the font-family used in the first image?
I used Dank Mono. You can see my whole setup at iamdeveloper.com/uses
Thank you for sharing this! Your posts are awesome.
Thanks for the kind words!
It works in nested functions as well 😍
Oh this is going to be an amazing setting for me with my work codebase. Awesome tip.
Nice, thanks Sir
Its not working with function expression unfortunately
Thank you! I "use" this feature frequently in other editors/IDE's but I didn't know that VS Code had it