Visual Studio Code
When I highlight a line and then scroll below it, and then press "Home" or "End" or Left arrow or Right arrow, it get back to highlighted line but too far 3-4 lines above.
Do you know how to fix this so it didn't get scrolled above the highlighted line, just scrolled the exact line I highlighted before.
Thank you.
5 Replies
Someone please help.
I'm not sure there's a setting for that, what issue is it causing you?
https://marketplace.visualstudio.com/items?itemName=tobark.scroll-to-cursor&ssr=false#overview
Could try that extension
Scroll to Cursor - Visual Studio Marketplace
Extension for Visual Studio Code - Scroll relative to cursor
Works for me though I have to set the Offset setting to -5
Appreciate your help, I'll try the extension and let you know.
I don't know about the issue causing this, before this happens, all works fine, I even reset all the settings, might have to reinstall I think.