Commit graph

6 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
638e6a79a4 🐛 revert changes to fix streaming bug 2024-02-26 00:18:07 -05:00
Ihor Pavlenko
9ba2e76705
Fix streamDiff tests (#796)
* fix: make streamDiff tests to pass

* add missing lline
2024-02-25 23:49:14 -05: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
Renamed from core/diff/diffLines.ts (Browse further)