Commit graph

21 commits

Author SHA1 Message Date
Nate Sesti
044827bcce ⚡️ autocomplete stopping improvements 2024-05-26 11:41:29 -07:00
Nate Sesti
e007efbd63 ⚡️ improved autocomplete stopping 2024-05-24 22:03:49 -07:00
Nate Sesti
53b61288ec
🎨 Refactor core (#1281)
* 🎨 refactor out react context

* 🎨 refactor local storage

* 🎨 refactor IdeMessenger

* 🔥 removing unused files

* 🚚 move scripts

* ✅ setup VSCode integration testing

* 🎨 fix test-related stuff

* 🚧 testing

* 🎨 tweak terminal cmd+L

* 🧑‍💻 install biome in core

* 🎨 run biome check on core

* 🎨 run biome check in vscode

* 🎨 run biome check in binary

* 🧑‍💻 global biome config

* 🎨 run biome check on core

* 🎨 run biome check in vscode

* 🎨 fix a few biome warnings

* 🚧 WIP on protocols

* 🚧 progress, organizing, about to remove webviewCore protocol

* 🚧 now running

* 🚧 move indexing code to core

* 🚧 WIP on JetBrains indexing implementation

* 🎨 finish listDir

* 🚧 gui fixes

* 🏷️ update IMessenger.on return type

* 🐛 fix jetbrains types + IDE detection

* 🧑‍💻 set up debugging for binary with TcpMessenger

* 👷 fix prepackage.js

* 🧑‍💻 turn off debug mode for intellij

* 🐛 merge fixes

* 🐛 fixes after refactor

* 🐛 merge fixes

* 💄 increase font size in JB

* 🔀 merge changes

* 🩹 small fixes

* 🐛 fix jetbrains build

* 🩹 more jetbrains fixes

* 🎨 jetbrains improvements

* 🐛 fix lancedb prob in jetbrains build

* 👷 update jetbrains build process

* ✨ intellij problems context provider

* 👷 add script utils file

* 💚 fix jetbrains build regression

* 🎨 dynamic import transformers.js

* 🩹 small jetbrains updates

* ✨ folder context provider in jetbrains

* 🎨 many more jetbrains improvements

* 🔀 merge fixes

* ⚡️ small improvements

* 🎨 tell users transformers.js not supported

* 🎨 trial updates

* 📝 update jetbrains readmej

* ⚡️ only use smaller context for local autocomplete models

* ⚡️ improve bracket filter

* ✨ global .continue/.prompts folder

* 💄 improved model setup process

* 🥅 display VSCode req errs
2024-05-24 19:38:13 -07:00
Nate Sesti
89a69576bc 🎨 eslint enforce import extensions 2024-05-12 15:18:23 -07:00
Nate Sesti
98f6145caa
Nate/autocomplete-metrics (#1230)
* ⚡️ use context.selectedCompletionInfo, deduplicate logs

* ⚡️ don't reject if user keeps typing same as completion

* ⚡️ vscode autocomplete edge cases

* 🚧 WIP on vscode autocomplete

* ⚡️ better bracket handlng

* ⚡️ improved multi-line detection
2024-05-03 21:32:53 -07:00
Nate Sesti
a7236e3320 🐛 add skipLines 2024-04-29 00:09:47 -07:00
Nate Sesti
4bd76bd809 💄 improve onboarding language 2024-04-24 14:10:38 -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
2982d7c843 🩹 add filter for midline imports/top-level keywords and encoding header 2024-03-26 11:57:00 -07:00
Nate Sesti
3a38495412 🔧 generate .d.ts files 2024-03-19 17:33:36 -07:00
Nate Sesti
f3b0dbc953 ✨ starcoder2 FIM prompt formatting 2024-03-06 16:34:17 -08:00
Nate Sesti
8187e0d39a 🐛 don't try to calculate AST in non-code files 2024-03-02 21:28:23 -05:00
Nate Sesti
c9f53d7c76 ⚡️ stop autocomplete if lines are repeating 2024-03-02 21:11:07 -05:00
Nate Sesti
d90e7dce92 🎨 formatting + fix viewType of undefined 2024-03-02 19:38:27 -05:00
Nate Sesti
97b2c04f80 ✨ useCache customization option 2024-02-29 20:49:49 -05:00
Nate Sesti
c4598b7685 ⚡️ stop autocomplete model from outputting // Path: ... 2024-02-29 11:30:46 -05:00
Nate Sesti
20ba40a32b ⚡️ more improvements to /edit 2024-02-10 20:15:26 -08:00
Nate Sesti
b3bf8d9d25 ⚡️ improve reliability of diff generation, avoiding english explanation 2024-02-10 19:18:54 -08:00
Nate Sesti
fd9ca79a41 ⚡️ don't repeat closing bracket with autocomplete 2024-02-06 10:40:04 -08:00
Nate Sesti
18fdab6930 ⚡️ refactor streaming for autocomplete 2024-02-05 21:59:08 -08:00
Renamed from core/autocomplete/streaming.ts (Browse further)