'VSCode notebook padding below the cursor position

I have set this: "editor.cursorSurroundingLines": 10, but, I'm getting a view like this, line 3 is just at the extreme bottom of the screen. enter image description here

Is there any way to put some fixed space/padding below the current cursor position? In simple I don't want my cursor at the extreme bottom of the screen.



Solution 1:[1]

If this happens only for the last line of your file, try adding this setting to your settings.json:

"editor.scrollBeyondLastLine": false

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 carlfriedrich