0

Is it possible to set the number of lines for scrollLineDown and scrollLineUp? The default for my VS Code version is a single line, however I'd like to increase that.

2

1 Answer 1

1

At the time of this writing, no. I'm not aware of a setting to control this. Actually, I'd suggest to look in the direction of keybindings, but even that is a dead end right now. At least- for the two commands you mentioned. The related source code is in https://github.com/microsoft/vscode/blob/31e5940fb0f424c89474f4c967be9564a1e793a8/src/vs/editor/browser/coreCommands.ts#L1514. The args does not take anything to specify number of lines. Though it looks like it wouldn't be hard at all to implement- just define a type for the number of lines like there is for the cursorMove command, and then pass those arguments in the call to EditorScroll.runCoreEditorCommand.

I'd suggest that you raise a feature request issue ticket.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.