Commit graph

396 commits

Author SHA1 Message Date
Nate Sesti
c868e9d0cb Merge branch 'preview' of https://github.com/continuedev/continue into preview 2024-03-27 20:32:59 -07:00
Nate Sesti
90e9933c97 🎨 add getRepoName to IDE, use for indexing 2024-03-27 20:32:52 -07:00
LapinMalin
8b4469a8dd
Keep the same statusBar item when updating it to prevent flickering of the status bar. (#1022) 2024-03-27 17:07:32 -07:00
Nate Sesti
a5bfcfe27d
⚡️ Improved edit prompts for OS models (#1029)
* 💄 refresh codelens more frequently

* ⚡️ improved codellama edit prompt

* ⚡️ better codellama prompt

* ⚡️ use same improved prompt for most OS models

* 🎨 refactor chat templates

* 🎨 refactor llama2 prompt to allow ending assistant message

* ⚡️ separate os models prompt when no prefix/suffix

* 🎨 refactor to allow putting words in the model's mouth

* ⚡️ prune code around cmd/ctrl+I

* 🚚 rename to cmd/ctrl+I

* 🎨 make raw a base completion option

* 🩹 small improvements

* 🩹 use different prompt when completions not supported
2024-03-27 13:47:19 -07:00
Nate Sesti
98affeaa81
🔥 Improved Ctrl/Cmd+I (#1023)
* ⚡️ improved diff streaming algo

* 🎨 better messaging/formatting for further cmd/ctrl+I instructions

* ⚡️ more reliably filter out unwanted explanations

* 🚸 better follow up edits

* 💄 accept/reject diffs block-by-block

* ✨ cmd/ctrl+z to reject diff

* 🚚 rename variables

* 💄 allow switching files when inline diff still visible

* 🚸 don't show quick pick if not ctx providers exist

* 🚧 (sort of) allow switching editors while streaming diff

* 💄 show model being used for cmd/ctrl+I

* 💄 don't add  undo stops when generating diff

* 🐛 fix shortcuts for accept/reject diff blocks

* ✨ improved GPT edit prompt, taking prefix/suffix into account

* ✨ improved prompting for empty selection ctrl/cmd+I

* ⚡️ immediately refresh codelens

* 🐛 use first model if default undefined

* ⚡️ refresh codelens after diff cleared

* 💄 update keyboard shortcuts
2024-03-26 15:55:32 -07:00
Nate Sesti
6beed836be Merge branch 'nate/bootstrap' into preview 2024-03-24 15:08:34 -07:00
Nate Sesti
5d1c57e317 🔊 log ctx prov name 2024-03-23 10:11:53 -07:00
Nate Sesti
c4b6e7c33d
JetBrains fixes (#1017)
* 🐛 use off-screen rendering

* 💄 only use OSR for linux

* 🧑‍💻 setup Intellij for hot-reloading of tool window

* 🐛 fix config loading issues in Intellij

* 🐛 fix jetbrains encoding error

* 💄 improve model select and config loading in UI

* 🐛 don't render mid-line, multi-line completions in jetbrains

* 💄 turn off spell check in sidebar

* 🚧 partial autocomplete acceptance jetbrains

* 🔖 update gradle.properties version
2024-03-22 19:36:57 -07:00
Nate Sesti
7753d49377 🐛 fix reading unsaved files over SSH 2024-03-22 16:19:16 +00:00
Shankhadeep Dey
ef282d194b
Fix/autocomplete errors (#1007)
* fix: tab autocomplete URL and remove unnecessary code

* fix: formatting issues in completionProvider.ts

* remove: error handling in ContinueCompletionProvider
2024-03-22 00:01:56 -07:00
Nate Sesti
315d179d82 🩹 add .wav and .webp to list of ignored file types 2024-03-20 19:46:47 -07:00
Nate Sesti
4c13ac753b 🚸 allow errors parsing config.json to be thrown 2024-03-20 19:27:34 -07:00
Nate Sesti
d4d1a8eec9 🐛 Ctrl/Cmd in tutorial and make sure to use correct one for OS 2024-03-20 16:46:08 -07:00
Nate Sesti
e6ddab32a2 ✨ shared indexing 2024-03-19 23:07:28 -07:00
Nate Sesti
224089b74a 🩹 ensure ordering in markComplete 2024-03-19 22:57:41 -07:00
Nate Sesti
66ae9f2405 🚑 fix autocomplete by binding function 2024-03-19 10:30:37 -07:00
Nate Sesti
caedc54a1c
📈 Locally track tokens generated and show stats (#987)
* ✨ log tokens generated locally

* 💄 UI for usage stats
2024-03-18 17:27:28 -07:00
Nate Sesti
a99f998240 🐛 fix codelens in tutorial 2024-03-18 00:35:09 -07:00
Nate Sesti
e044fff467 Merge branch 'fix-search-context-provider' of https://github.com/Elpaggio/continue into Elpaggio-fix-search-context-provider 2024-03-17 15:43:45 -07:00
commandblock2
76cc80c12c Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-17 21:55:20 +08:00
Nate Sesti
099eac3a2b Merge branch 'preview' into nate/jetbrains-autocomplete 2024-03-15 12:25:28 -07:00
Nate Sesti
6cbcd33e9d 🚧 jetbrains autocomplete fixes 2024-03-13 20:32:48 -07:00
Nate Sesti
805e002fc7 🎨 decouple autocomplete from VS Code extension 2024-03-12 19:40:57 -07:00
commandblock2
f115193940 Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-12 22:53:40 +08:00
commandblock2
6a8f828a47 polished format and file reading 2024-03-12 22:21:55 +08:00
Nate Sesti
b006874353 Merge branch 'nate/code-context-provider' into preview 2024-03-12 00:44:55 -07:00
Nate Sesti
3a75dbfe60 🤡 add remote config stubs 2024-03-11 20:16:01 -07:00
Nate Sesti
429d57cb3b Merge branch 'preview' into nate/sso 2024-03-11 13:54:19 -07:00
commandblock2
dacd9fb291 refactor: changed the interface of threads 2024-03-11 23:01:03 +08:00
commandblock2
4181490794 added updateSubmenuItems request 2024-03-11 22:26:43 +08:00
commandblock2
3f6f9f202a temporary fix to use refreshSubmenuItems 2024-03-11 14:59:05 +08:00
Nate Sesti
28e42ad4c1 ✨ remoteConfig settings in JetBrains 2024-03-10 17:10:06 -07:00
Nate Sesti
fe385dcfe0 🎨 extra starcoder stop word 2024-03-10 11:10:39 -07:00
Nate Sesti
283c7ebcad 🚸 add titles to code context provider 2024-03-09 16:24:52 -08:00
Nate Sesti
4bb20cd557 Merge branch 'preview' into nate/code-context-provider 2024-03-09 13:54:28 -08:00
Nate Sesti
fa8d6fc36a 🚧 full draft of code context provider 2024-03-09 13:54:19 -08:00
commandblock2
d0e735853d Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-10 00:14:25 +08:00
Bjørn Jørgensen
1d14eb46ef
Prefer using nullish coalescing operator (??) instead of a logical or (#922)
* Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.

* index.ts

* more...

* more..

* indenting

* fix indenting
2024-03-08 22:41:04 -08:00
commandblock2
beb3a399fa Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-07 20:42:38 +08:00
Nate Sesti
f218eacce3 🚸 hide empty file tooltip 2024-03-06 23:12:51 -08:00
Nate Sesti
ae9e6db210 🚸 switch back to starcoder as default until starcoder2 prompt is fixed 2024-03-06 17:05:00 -08:00
Nate Sesti
f3b0dbc953 ✨ starcoder2 FIM prompt formatting 2024-03-06 16:34:17 -08:00
commandblock2
4308c1ef26 Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-06 21:08:52 +08:00
Nate Sesti
752a2dffa9 ✨ release tab-autocomplete in main 2024-03-05 22:19:34 -08:00
Nate Sesti
4b1d5ae8af 🔊 only show autocomplete errors first time 2024-03-05 08:08:44 -08:00
commandblock2
950801b302 Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-04 15:54:18 +08:00
Nate Sesti
d4e9fd2a81 🚧 WIP on auth 2024-03-03 22:38:20 -05:00
Nate Sesti
1ceda7377f 🎨 make GeneratorReuseManager non-static 2024-03-03 18:51:17 -05:00
Nate Sesti
9f4305c1ed 🎨 clean up usage of uriFromFilePath in getStats 2024-03-03 16:22:16 -05:00
yuiseki
96b31a7468
Use uriFromFilePath instead of vscode.Uri.from at VsCodeIde.getStats (#918) 2024-03-03 16:20:23 -05:00