Commit graph

11 commits

Author SHA1 Message Date
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
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
060431e0bb 🚧 dep injection (roughly) in vscode extension 2024-02-13 20:58:29 -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
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
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
Renamed from extensions/vscode/src/diff/verticalPerLine.ts (Browse further)