From 00a996c1f9e7b28937d7260b80258cb16ced2fe2 Mon Sep 17 00:00:00 2001 From: Jacob Kim Date: Thu, 17 Jul 2025 21:35:40 -0700 Subject: [PATCH] feat: add a jump manager --- extensions/vscode/src/activation/JumpManager.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/extensions/vscode/src/activation/JumpManager.ts b/extensions/vscode/src/activation/JumpManager.ts index cf3c83290..66036ae08 100644 --- a/extensions/vscode/src/activation/JumpManager.ts +++ b/extensions/vscode/src/activation/JumpManager.ts @@ -1,9 +1,4 @@ import * as vscode from "vscode"; -// TODO: -// Checks for current viewport range. -// Creates and saves the Tab to Jump SVG decoration. -// Given the range to replace, determines whether to display the SVG or not. -// When SVG is displayed, reserve Tab and Esc for jumping. export class JumpManager { private static _instance: JumpManager | undefined; @@ -37,7 +32,7 @@ export class JumpManager { this._disposables = []; } - private async suggestJump(nextJumpLocation: vscode.Position) { + public async suggestJump(nextJumpLocation: vscode.Position) { const editor = vscode.window.activeTextEditor; if (editor) {