wmaurer/vscode-jumpy

Please expand jumpy ranges to visibleRanges

Closed this issue · 3 comments

toge commented

Thank you for developing awesome plugin!

I want to use jumpy more widely.
How about expand jumpy ranges to texteditor.visibleRanges, as following.

const plusMinusLines = vscode.window.activeTextEditor.visibleRanges[0].end.line - vscode.window.activeTextEditor.visibleRanges[0].start.line;

I have a portrait monitor that I code on and Jumpy doesn't really go far enough to cover the whole screen (it's about half). I would love if it detected how many lines are on screen, but I would settle for being able to set how many lines it handles so I could just force it to do 100 lines or whatever.

@toge @primitiveType Seems this extension is no longer being maintained, you can use Jump instead, it supports this feature.

toge commented

Thank lots, @wenfangdu
I'm going to try yours.