Commit graph

1642 commits

Author SHA1 Message Date
Nate Sesti
89826f0fea
fix: filter out markdown delimiters from next edit responses (#8056)
* fix: filter out markdown delimiters from next edit responses

* fix: silence noisy console logs (debug now) and capture accept/reject feedback

* fix: console.log -> debug

* fix: console.log -> debug

* fix feedback

* fix: respect Telemetry

* requestId

* fix: lint

* bump
2025-10-01 22:52:18 -07:00
Keerthana Panyam
b461fdc3cd
feat: added UI for global rule creation (#7467)
feat: add rule scope dropdown for global rule creation

- added global mode toggle
- implemented conditional styling (white when enabled, gray when disabled)
feat: improve global rules UI and fix debug mode issues

- added dropdown button component to switch between global and workspace rule creation.
- fixed global rules creation to use nested rules/ subdir in debug mode
- prevent default glob patterns for global rules by returning undefined globs
- generate unique rule names for global rules
- added watcher for rules in global directory
2025-10-01 11:03:10 -07:00
Dallin Romney
e73ee07c42 Merge branch 'main' of https://github.com/continuedev/continue into mq200/fix-added-folders-not-triggering-reindex 2025-09-26 19:17:54 -07:00
Patrick Erichsen
ead28c7839
feat: add back fullscreen cmd (#7955) 2025-09-24 15:10:30 -07:00
mq200
57b528c445
Merge branch 'main' into fix-added-folders-not-triggering-reindex 2025-09-24 11:49:47 -07:00
Dallin Romney
0ca4c0375f
Revert "Fix image drop from main editor (#7205)"
This reverts commit f859010f29.
2025-09-22 16:28:58 -07:00
Dallin Romney
381ad937e8
Merge branch 'main' into save-chat 2025-09-22 13:45:39 -07:00
Dallin Romney
238d03f0b6
Merge pull request #7651 from JonZeolla/feat/oauth/redirect_uri
feat(oauth): use asExternalUrl to get the correct callback
2025-09-22 13:32:10 -07:00
Aadarsh Kumar Tiwari
f859010f29
Fix image drop from main editor (#7205)
* Add image to tiptapeditor from Main editor

* Solved Javascript heap out of memory

* solved bug for multiple image support from main editor

* remove default handling of image

* remove handle image logic to editor rather div

* remove image

---------

Co-authored-by: Nate <sestinj@gmail.com>
2025-09-22 13:20:45 -07:00
Nate Sesti
12e933bf9d
feat: next edit char-level diff (#7776)
* remove filter from next edit svg border

* reduce border radius to 2 in next edit svg

* update border

* remove strikethrough from next edit deletion ui

* remove diff background for now

* feat: word-level diff in next edit svg

* fix: don't alternate non-responses due to empty chain

* fix: log next edit completions to continue console

* fix: test and update chaining behavior to avoid repetitive requests and avoid alternating non-responses
2025-09-19 00:25:33 -07:00
Nate Sesti
d78fc99087
feat: add Mercury Apply endpoint support to Inception LLM (#7827)
* feat: add Mercury Apply endpoint support to Inception LLM

* refactor: begin to clean up the apply / streamDiff code

* fix: undo commenting out of instant apply

* fix: use underlyingProviderName
2025-09-18 23:44:25 -07:00
Dallin Romney
26193d18cd
Merge pull request #7785 from continuedev/dallin/glob-ignores
feat: grep and glob ignores for vscode/jetbrains
2025-09-17 11:10:52 -07:00
Dallin Romney
b842a21708
feat: global req (#7414)
* feat: yaml global requestOptions schema

* feat: merge request options

* fix: config yaml request options cleanup

* fix: mcp request options logic and tests

* feat: inject request options from unroll options

* fix: tests and new tests for merge

* feat: inject request options

* fix: prettier

* chore: package-lock

* chore: package lock

* fix: package lock

* fix: package lock
2025-09-17 10:57:40 -07:00
Tomasz Iniewicz
ca2a5d7f29
Lemonade Integration (#7749) 2025-09-17 10:15:33 -07:00
Aditya Mitra
5f61d188e3
fix: focus on the selected file for edit/apply when showing diffs (#7722) 2025-09-16 16:04:36 -07:00
Dallin Romney
b7afeb2a52 fix: ignores for grep 2025-09-16 13:52:05 -07:00
Dallin Romney
b18061b126 fix: glob ignores for vscode 2025-09-16 13:38:39 -07:00
mq200
60419a6cbd visibility setWokspaceDirectories 2025-09-11 16:28:58 -07:00
mq200
bf30171d6f set workspace dirs within the VS Code IDE; add TODO for jetbrains workspace dirs changes listener 2025-09-11 16:24:17 -07:00
Jon Zeolla
92b7cb28fb Cleanup per pr feedback 2025-09-11 16:34:33 -04:00
Nate Sesti
bcc5600f29
Merge pull request #7660 from continuedev/pe/autoformat-results
feat: add autoformatting detection for edit tools
2025-09-11 10:36:09 -07:00
Nate
a3e6b9b136 chore: format 2025-09-10 21:44:11 -07:00
Dallin Romney
580fc938de
Merge pull request #6711 from fbricon/empty-selection-selects-line
feat: allow Cmd+L / Cmd+I on empty selection to select the entire file
2025-09-10 18:49:06 -07:00
mq200
8247bb698c refresh workspace dirs when folders are added 2025-09-10 14:41:40 -07:00
Nate
8c18e8acc3 fix: don't stream apply for fast models 2025-09-09 23:53:46 -07:00
Nate
fc4828d010 feat: add filepath to apply prompt template vars 2025-09-09 21:59:48 -07:00
Patrick Erichsen
1f5389f070 updates 2025-09-09 14:14:35 -07:00
Patrick Erichsen
ebded1fc67 Add autoformatting detection for edit tools
Implement autoformatting detection similar to Cline's approach to improve reliability of edit operations. When edit tools (multiEdit/editFile) are executed, the system now captures file content before and after save operations to detect editor autoformatting changes.

Key changes:
- Add `createPrettyPatch` utility using existing `myersDiff` function
- Capture pre/post save content in `processDiff.ts`
- Add `autoFormattingDiff` field to `ApplyState` protocol
- Include autoformatting diff in tool responses with guidance for language model
- Help prevent future edit failures due to undetected formatting changes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 11:11:04 -07:00
Patrick Erichsen
ef77787ef7 prettier fixes 2025-09-09 09:43:04 -07:00
Fred Bricon
fe8eb5dcbc feat: allow Cmd+L / Cmd+I on empty selection to select the entire file
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-09-09 18:19:37 +02:00
Jon Zeolla
ada6cdd386 feat(oauth): use asExternalUrl to get the correct callback 2025-09-09 08:24:19 -04:00
Patrick Erichsen
b4dbb32b7f dallins feedback 2025-09-09 00:54:09 -07:00
Dallin Romney
1e51398c61
Merge pull request #7406 from uinstinct/reshape-actions
refactor: reshape vscode actions
2025-09-03 10:51:45 -07:00
Jacob Kim
a8e08ee266 docs: add comments to vscodeextension 2025-08-29 16:19:01 -07:00
Jacob Kim
5992555568 docs: add comment to selection change manager 2025-08-29 16:18:50 -07:00
Jacob Kim
2baa9a3725 docs: add comments to window manager 2025-08-29 16:18:38 -07:00
Jacob Kim
2007d0a410 docs: add comments on jump manager 2025-08-29 16:18:25 -07:00
Jacob Kim
4d35ec435d docs: add docs 2025-08-29 14:35:17 -07:00
uinstinct
945b31b634 revert contextmenuprompts 2025-08-29 16:52:36 +05:30
uinstinct
6271c131d5 Merge branch 'main' into reshape-actions 2025-08-29 16:32:11 +05:30
Jacob Kim
f27e7c71de
feat: add user-friendly way to toggle between FIM and next edit (#7355)
* feat: don't format when model is not mercury

* chore: bump

* fix: remove mercury-coder-nextedit

* refactor: remove refs to mercury-coder-nextedit

* feat: add util function for converting model name to enum

* refactor: add new types

* refactor: create an abstract base class for providers

* refactor: add child provider for instinct

* refactor: add provider for mercury coder

* refactor: provider factory

* refactor: use factory to create model providers based on helper.modelName

* refactor: clean up redundant logic to be more provider-friendly

* add buildPromptMetadata as an abstract method

* refactor: use handlebars and provider-specific template renderers

* refactor: use this.modelProvider instead of prompt engine

* refactor: remove redundant helper

* fix: update vitest after refactor

* feat: add test for convertNextEditModelNameToEnum

* fix: add isSecurityConcern imports

* feat: add functions to return next edit menu items and update config

* fix: get rid of callbacks

* feat: render next edit menu items

* fix: get rid of redundant completion request

* feat: update next edit status on vscode workspace config update, refactor out common logic

* feat: add continue.enableNextEdit

* feat: add aborted field to check for false positives

* fix: remove zetaDataset suffix

* feat: make sure that we are tracking completions

* feat: log aborts and move id generation to the top

* feat: all requests are tracked. when request is aborted, log as aborted with zero-value data. else, graduate it from pending completion and set aborted to false

* feat: add aborted to schema

* feat: add a toggleNextEditEnabled command

* feat: show (NE) in the status bar when next edit is enabled, add keymap

* feat: add command definitions for toggleNextEditEnabled

* refactor: handle validation in VsCodeExtension

* feat: check if model does not support next edit

* feat: use better menu item labels

* fix: casing

* chore: bump

* feat: add a function to disable next edit

* feat: disable next edit before e2e tests

* chore: bump

* fix: add a small delay to wait for UI loading

* fix: NE is shown for all statuses

* fix: wait for the NE to pop up

* fix: wait longer for disableNextEdit, clear potential next edit notifications

* fix: roll back clearAllNotifications

* fix: try disabling next edit before each

* fix: revert

* feat: add sane defaults when no workspace settings are set

* fix: fall back to false

* fix: debugging

* chore: change name

* fix: try waiting for text

* debug: more debug logs

* fix: clear notifs

* fix: suppress warning

* fix: string matching

* fix: jump label overlapping with the inline tip label (#7399)

* 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>

---------

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>
2025-08-26 21:54:29 -04:00
uinstinct
469d29dc0e remove contextmenuprompts experimental config
- also remove json reference docs
2025-08-26 17:14:40 +05:30
uinstinct
fb6a80433c remove vscode quick actions 2025-08-26 16:40:07 +05:30
uinstinct
c7cfc717a1 feat: focus on chat input after apply 2025-08-25 21:02:37 +05:30
Dallin Romney
fa9eb17e84 merge: main 2025-08-22 12:26:37 -07:00
Dallin Romney
837f4dd149
Merge pull request #7268 from continuedev/jacob/con-3594
fix: tab and esc are properly reserved
2025-08-22 11:48:40 -07:00
Dallin Romney
540ac7815e Merge branch 'main' of https://github.com/continuedev/continue into dallin/fix-yolo-mode-apply 2025-08-21 17:35:46 -07:00
Dallin Romney
400fefc1e3 fix: prevent security file reads cleanup 2025-08-21 14:18:53 -07:00
Dallin Romney
30c4cc1469 feat: prevent unsafe file reads 2025-08-21 13:40:03 -07:00
Jacob Kim
ee221a4be5 feat: add test 2025-08-21 10:04:32 -07:00