Skip to content

Conversation

jpoly1219
Copy link
Collaborator

@jpoly1219 jpoly1219 commented Aug 22, 2025

Description

Closes CON-3584, CON-3642.

Adds new menu items to the autocomplete menu.
Supports using FIM autocomplete and next edit. Supported models can toggle between the two.
Add proper logging for aborted requests to prevent false positive rejects.
Update E2E tests to disable next edit before running.

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-general-review or @continue-detailed-review

Checklist

  • I've read the contributing guide
  • The relevant docs, if any, have been updated or created
  • The relevant tests, if any, have been updated or created

Screen recording or screenshot

Tests

  • extensions/vscode/e2e/tests/Autocomplete.test.ts
  • extensions/vscode/e2e/tests/Edit.test.ts
  • extensions/vscode/e2e/tests/GUI.test.ts
  • extensions/vscode/e2e/tests/KeyboardShortcuts.test.ts
  • extensions/vscode/e2e/tests/PromptFile.test.ts
  • extensions/vscode/e2e/actions/Global.actions.ts

Summary by cubic

Add a simple way to switch between FIM autocomplete and Next Edit in VS Code, with a status bar hint and a keyboard shortcut. Also improves Next Edit logging by recording aborted requests to avoid false-positive rejections and updates the schema. Addresses CON-3584 and CON-3642.

  • New Features

    • New setting continue.enableNextEdit and command “Continue: Toggle Next Edit” (cmd+k cmd+n on mac, ctrl+k ctrl+n on windows/linux).
    • Status bar shows “(NE)” when Next Edit is enabled; tooltip reflects current mode.
    • Autocomplete menu adds a one-click toggle between “Use next edit” and “Use FIM autocomplete.”
    • Validates the selected model for Next Edit; if unsupported, prompts to disable Next Edit or pick a different model and reacts to settings changes.
  • Bug Fixes

    • Aborted completions are logged as aborted (not rejected). Tracks pending requests; sets aborted=false on accept/reject/display.
    • Adds aborted to NextEditOutcome schema; removes zetaDataset suffix from modelName.
    • Eliminates a redundant completion request and generates/tracks completionId early; handles aborts in the cancellation path.

@jpoly1219 jpoly1219 requested a review from sestinj August 22, 2025 23:37
Copy link

⚠️ AI review completed but no review output was generated. Check the action logs for details.


💡 To request a new review, comment @continue-general-review

Copy link

AI Code Review

AI review completed but failed to parse output

No specific line comments generated.


💡 To request a new detailed review, comment @continue-detailed-review

jpoly1219 and others added 25 commits August 22, 2025 17:00
* feat: add methods to temporarily hide and show tooltip

* feat: hide the inline tooltip when the jumpmanager's tooltip is shown

* feat: focus on chat input after apply

* revert

* fix: HOTFIX local assistant loading (#7354)

* fix: local assistant loading

* fix: no need for excluding .continue/.continue

* test: cases for config.yml and config.yaml names

* feat: remove hide/show logic for creating a new svgbuilder instance

* feat: use a new svgBuilder istance

* chore: update package-lock.json

---------

Co-authored-by: uinstinct <61635505+uinstinct@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Co-authored-by: Ting-Wai <40179554+tingwai@users.noreply.github.com>
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant