VSCode provides a configuration option for the function you specify. To enable it, go to File â Preferences â User Preferences
On the right side of the editor in settings.json, insert the bottom line at the bottom (before the closing bracket), save and close.
"editor.scrollBeyondLastLine": false
This will prevent the editor from scrolling past the last line.
Dani Akash Nov 14 '16 at 12:30 2016-11-14 12:30
source share