Commit graph

38 commits

Author SHA1 Message Date
Nate Sesti
3b45028f54 🩹 properly dispose of diff handler 2024-05-15 17:34:36 -07:00
Nate Sesti
17a08b4060 ⚡️ improve add docstring command 2024-05-14 16:15:33 -07:00
Dipta Mahardhika
cfcd74051e
ui: change line decoration color to use vscode theme (#1253)
* ui: change line decoration color to use vscode theme

to give user a more consistent experience by letting the decoration color to user the color defined in the theme.

* fix: incorrect color item

should be line background not text background
because the decoration is for the whole line
2024-05-10 10:41:15 -07:00
Nate Sesti
ca2daed026 🎨 use U+23CE 2024-04-29 16:17:23 -07:00
Nate Sesti
49cb06df70
✨ Improved onboarding experience (#1155)
* 🚸 onboarding improvements

* 🧑‍💻 keyboard shortcuts to toggle autocomplete and open config.json

* ⚡️ improve detection of terminal code blocks

* 🚧 onboarding improvements

* 🚧 more onboarding improvements

* 💄 last session button

* 🚸 show more fallback options in dropdown

* 💄 add sectioning to models page

* 💄 clean up delete model button

* 💄 make tooltip look nicer

* 🚸 download Ollama button

* 💄 local LLM onboarding

* 🐛 select correct terminal on "runCommand" message

* 💄 polish onboarding
2024-04-19 17:55:16 -07:00
Nate Sesti
df71ad724e ✨ Dropdown to select model 2024-04-01 15:27:51 -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
5d1c57e317 🔊 log ctx prov name 2024-03-23 10:11:53 -07:00
Nate Sesti
eb911d9048 🐛 fix webview request bug 2024-03-03 16:09:49 -05:00
Nate Sesti
2eb647656b 🎨 format all files with .prettierrc 2024-03-02 20:02:33 -05:00
Nate Sesti
b43a63b6a4 Merge branch 'preview' into nate/merge-preview-to-atwood-p2 2024-02-19 15:17:45 -08:00
Nate Sesti
7e314df380 🚧 reverse webview protocol 2024-02-14 16:49:00 -08:00
Nate Sesti
060431e0bb 🚧 dep injection (roughly) in vscode extension 2024-02-13 20:58:29 -08:00
Nate Sesti
20ba40a32b ⚡️ more improvements to /edit 2024-02-10 20:15:26 -08:00
Nate Sesti
e8a20e1590 ✨ cmd/ctrl+z to reject quick edit diff 2024-02-09 22:40:52 -08:00
Nate Sesti
4d93311a2b ✨ follow-up quick edits with cmd/ctrl+shift+L 2024-02-09 21:35:44 -08:00
Nate Sesti
bb582f86b0 🚸 stop button for streaming diffs 2024-01-30 19:36:37 -08:00
Nate Sesti
c8b8f0c6e3 🩹 catch error and remove highlights when cmd+shift+L fails 2024-01-24 11:41:46 -08:00
Nate Sesti
45e2b50b0a ⚡️ many adjustments to OS model output to clean it up 2024-01-02 12:48:08 -05:00
Nate Sesti
03350455e3 🐛 fix insertion at end of file bug 2024-01-01 16:00:35 -05:00
Nate Sesti
6af81ef241 🐛 fix bug causing wrong range to be edited 2024-01-01 14:52:39 -05:00
Nate Sesti
1f6ff7f222 ✨ codelens to accept/reject vertical diff 2024-01-01 14:47:33 -05:00
Nate Sesti
3e3be61a2b 🎨 refactor vertical diff into multiple files 2024-01-01 13:25:36 -05:00
Nate Sesti
7250d85b73 ⚡️ always insert deleted lines above inserted 2024-01-01 12:15:37 -05:00
Nate Sesti
0c98cbb393 ✨ context menu actions for common edits 2023-12-31 13:11:37 -05:00
Nate Sesti
107e511b82 ⚡️ new line matching heuristic 2023-12-31 12:04:51 -05:00
Nate Sesti
3ac715b759 🐛 fix index decoration not showing bug 2023-12-31 11:16:06 -05:00
Nate Sesti
824e111efb 💄 more vertical diff improvements 2023-12-30 17:37:25 -05:00
Nate Sesti
a1c5513f60 💄 more small diff ui updates 2023-12-30 13:10:35 -05:00
Nate Sesti
4d4212f304 💄 small diff streaming updates 2023-12-30 13:00:06 -05:00
Nate Sesti
078f078de9 🐛 fix diff highlighting 2023-12-30 12:39:38 -05:00
Nate Sesti
d7c2c53263 🐛 test and fix streamDiff 2023-12-30 11:09:43 -05:00
Nate Sesti
ce4d3ba8f1 🚧 WIP on vertical diff 2023-12-30 10:14:09 -05:00
Nate Sesti
4c4b15cb51 🚧 fully hooked up vertical diff 2023-12-30 00:46:32 -05:00
Nate Sesti
1a992d130a 🚧 display of vertical diff 2023-12-29 22:10:37 -05:00
Nate Sesti
b1f6397d4c 🚧 more elegant diff algorithm 2023-12-29 20:49:38 -05:00
Nate Sesti
2817efb016 🚧 starting work on vertical diffs 2023-12-29 09:28:49 -05:00