@@ -261,18 +261,15 @@ export class ContinueCompletionProvider
261261
262262 let outcome : AutocompleteOutcome | NextEditOutcome | undefined ;
263263
264- // console.log(
265- // "chain exists?",
266- // this.nextEditProvider.chainExists(),
267- // ", length:",
268- // this.nextEditProvider.getChainLength(),
269- // ", next regions queue:",
270- // this.nextEditProvider.getNextEditableRegionsInTheCurrentChainLength(),
271- // );
264+ // TODO: We can probably decide here if we want to do the jumping logic.
265+ // If we aren't going to jump anyways, then we should be not be using the prefetch queue or the jump manager.
266+ // It would simplify the logic quite substantially.
272267
273268 // Determine why this method was triggered.
274269 const isJumping = this . jumpManager . isJumpInProgress ( ) ;
275270 const chainExists = this . nextEditProvider . chainExists ( ) ;
271+ console . log ( "isJumping:" , isJumping , "/ chainExists:" , chainExists ) ;
272+ this . prefetchQueue . peekThreeProcessed ( ) ;
276273
277274 if ( isJumping && chainExists ) {
278275 // Case 2: Jumping (chain exists, jump was taken)
@@ -340,7 +337,6 @@ export class ContinueCompletionProvider
340337
341338 if ( isJumpSuggested ) {
342339 // Store completion to be rendered after a jump.
343- // TODO: setCompletionAfterJump must have a 1-1 correspondence to the jump location.
344340 this . jumpManager . setCompletionAfterJump ( {
345341 completionId : completionId ,
346342 outcome,
0 commit comments