You don't need to use this extension, it is available in VS Code's standard feature key bindings.
{
// keybindings.json
{
"key": "ctrl+d",
"command": "editorScroll",
"args": {
"to": "down",
"by": "halfPage",
"revealCursor": true,
"value": 1
}
}
}- https://marketplace.visualstudio.com/items?itemName=74th.scrollkey
- https://github.com/74th/vscode-scrollkey
Visual Studio Code don't have half page scrolling. This plugin supports scrolling with lines of preference.
⌘, or keyF1 -> Open User Settings
{
"scrollkey.line1": 1,
"scrollkey.line2": 30,
"scrollkey.line3": 60
}keyF1 -> Open Keyboard Shortcuts
Please use your favorite keys.
[
{
"key": "ctrl+y",
"command": "scrollkey.up1",
"when": "editorTextFocus"
},
{
"key": "ctrl+u",
"command": "scrollkey.up2",
"when": "editorTextFocus"
},
{
"key": "PageUp",
"command": "scrollkey.up3",
"when": "editorTextFocus"
},
{
"key": "ctrl+e",
"command": "scrollkey.down1",
"when": "editorTextFocus"
},
{
"key": "ctrl+d",
"command": "scrollkey.down2",
"when": "editorTextFocus"
},
{
"key": "PageDown",
"command": "scrollkey.down3",
"when": "editorTextFocus"
}
]MIT