Commit graph

127 commits

Author SHA1 Message Date
Lucas Shamanic
77a723cdea Add force autocomplete command and update inline completion handling
- Introduced a new command `continue.forceAutocomplete` to trigger autocompletion manually.
- Updated `CompletionProvider` to accept a `force` parameter for inline completion.
- Enhanced `ContinueCompletionProvider` to handle manual autocompletion triggers.
2025-06-07 04:00:30 +01:00
Nate
1f5715fb52 lint fix again 2025-06-02 13:04:38 -07:00
Nate
02e4fa6e45 Merge branch 'main' into nate/prettier-ci 2025-06-02 13:03:36 -07:00
Nate Sesti
bb760f76c2
Merge pull request #5855 from continuedev/dallin/remove-free-trial
Remove free trial provider
2025-05-31 23:31:07 -07:00
Jacob Kim
1e3b588a5a fix double negatives in boolean value variables 2025-05-30 17:49:44 -07:00
Jacob Kim
0780b73260 add a flag to turn off next edit until it is ready 2025-05-30 16:42:40 -07:00
Jacob Kim
64d7ca4e09 call next edit alongside autocomplete 2025-05-30 15:55:34 -07:00
Dallin Romney
bbb81ff032 remove free trial provider 2025-05-26 17:42:05 -07:00
Nate
d66bdd9989 npx prettier --check "extensions/vscode/**/*.{js,jsx,ts,tsx,json,css,md
}" --ignore-path .gitignore --ignore-path .prettierignore --write
2025-05-25 18:38:44 -07:00
Fred Bricon
4d1a33fd79 fix: Do not break completion for unsupported FS providers
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-05-07 12:53:02 +02:00
Nate
7eba98a0d1 give less scary warning when config fails to load 2025-05-01 19:48:08 -07:00
Fred Bricon
1dc58c63ab fix: allow downloading missing embedder on Ollama, in VS Code
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-04-17 18:17:37 +02:00
Nate
eba13406ec Merge branch 'main' into completion_provider_replacement_diffpattern 2025-03-16 13:22:13 -07:00
Keerthana Panyam
64696a1d24 removed unused code to improve readability 2025-03-14 13:27:08 -04:00
Keerthana Panyam
304056d499 prevent premature autocomplete on intellisense
suggestion

When editing JS files, typing "window." triggers intellisense and
automatically selects the first suggestion ("window.AbortController")
The AI model would then use this default selection to insert a
completion without user input.

This commit updates the logic so that AI autocompletion only triggers
once the user has typed a few characters beyond the default suggestion,
ensuring that unwanted completions are not inserted early.
2025-03-14 11:41:50 -04:00
Nate Sesti
58d62fae8a
Merge pull request #4474 from fbricon/pull-ollama-model
Pull missing ollama models
2025-03-08 08:40:10 -08:00
Nate Sesti
948d0f5cb8
Merge pull request #4279 from ferenci84/fix_recently_edited_tracker_2
Modify condition to ignore non-file URIs in RecentlyEditedTracker
2025-03-07 22:25:17 -08:00
Fred Bricon
d9c3d447b9 Refactor Ollama error management
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-03-06 18:25:34 +01:00
Fred Bricon
dbdf72ea84 Pull missing ollama models
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-03-06 11:30:02 +01:00
ferenci84
66313eac79 Merge branch 'main' into completion_provider_replacement_diffpattern 2025-02-28 10:29:48 +01:00
ferenci84
03ead03015 Merge tag 'refs/tags/v0.9.269-vscode' into fix_recently_edited_tracker_2 2025-02-21 18:10:16 +01:00
ferenci84
ad73f4eaa5 modify condition to ignore non-file URIs in RecentlyEditedTracker 2025-02-21 17:59:56 +01:00
Dallin Romney
103c685c75 select tab autocomplete model 2025-02-18 23:52:04 -08:00
ferenci84
5d5aae89e7 Merge branch 'refs/heads/main' into diff_cache 2025-02-15 14:00:49 +01:00
ferenci84
d40def904c increase cache size in lsp.ts, update diff retrieval in ideUtils.ts 2025-02-15 12:48:21 +01:00
Nate
92d441b83e Merge branch 'main' into autocomplete_context_fix 2025-02-13 16:53:16 -08:00
ferenci84
f1351027ab Merge branch 'refs/heads/main' into completion_provider_replacement_diffpattern 2025-02-08 00:00:25 +01:00
ferenci84
4cc1cdd68a fix formatting issues 2025-02-08 00:00:06 +01:00
ferenci84
be2c9cb92d Create processSingleLineCompletion pure function with unit tests 2025-02-07 22:44:20 +01:00
Nate Sesti
249e6baae5
Merge pull request #3930 from ferenci84/fix_recently_edited_tracker
Fix: RecentlyEditedTracker tries to read invalid uri
2025-02-05 13:18:35 -08:00
ferenci84
3ee6c3b168 update completion logic to handle midline insertions more accurately in completionProvider.ts 2025-02-05 18:20:57 +01:00
ferenci84
aaae90417b update completion logic to handle midline insertions more accurately in completionProvider.ts 2025-02-05 18:11:38 +01:00
ferenci84
fe7654c772 Merge branch 'refs/heads/completion_provider_replacement_diffpattern' into autocomplete_context_fix 2025-02-05 17:41:33 +01:00
ferenci84
d5b51fe38e update completion provider to handle alternating diff patterns 2025-02-05 17:38:58 +01:00
ferenci84
5fb848d163 Exclude Continue's own output from autocomplete snippets 2025-02-02 06:17:50 +01:00
ferenci84
5b01b45a73 ignore output scheme ranges in RecentlyEditedTracker 2025-02-01 23:52:26 +01:00
ferenci84
fb1c022caa add error handling in RecentlyEditedTracker 2025-02-01 23:43:46 +01:00
ferenci84
fce2b561d5 update autocomplete templates and snippets handling 2025-01-31 16:33:51 +01:00
Fred Bricon
16b9a21a34 Intercept Ollama errors before Webview, to display Download/Start options
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-01-15 19:07:24 +01:00
Tomasz Stefaniak
e620a5272a
Merge branch 'main' into start-ollama 2025-01-10 17:30:26 -08:00
Test
5770cfbf79 chore:remove console logs 2025-01-10 16:20:45 -08:00
Fred Bricon
66f53debf1 Simplify Ollama error messages
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-01-10 18:57:28 +01:00
Fred Bricon
8296cd10ac Add the ability to start Ollama when it's stopped
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-01-10 18:57:27 +01:00
Test
04ad17e2ea Update RecentlyVisitedRangesService.ts 2025-01-09 11:01:11 -08:00
Test
3afe045839 fix codestral bug 2025-01-09 10:34:05 -08:00
Test
b283f1b402 update control for posthog 2025-01-09 10:14:26 -08:00
Test
2a20b5adc9 Update RecentlyVisitedRangesService.ts 2025-01-09 09:57:30 -08:00
Test
1cabf9b745 add posthog experiment 2025-01-09 09:50:16 -08:00
Test
0b3cc92922 bugfix: only allow maxSnippetsPerFile 2025-01-08 16:56:29 -08:00
Test
811507a406 feat(autocomplete): recently visited ranged service 2025-01-08 15:59:33 -08:00