Commit Graph
420 Commits
Author SHA1 Message Date
Mikayla Maki 58f6902229 Refactor out the node runtime crate and hook up all related imports 2023-03-28 10:27:31 -07:00
Mikayla Maki efa368b1df Finish shape of copilot auth UI 2023-03-28 09:42:01 -07:00
Mikayla Maki 8f51a1e5e5 Create copilot auth popup UI 2023-03-28 09:42:01 -07:00
Antonio Scandurra e4ecd2aad5 Reuse existing suggestion when inserting to avoid flickering 2023-03-28 09:42:01 -07:00
Antonio Scandurra 97dfcfe905 Replace editor::CycleCopilotSuggestions with copilot::NextSuggestion 2023-03-28 09:42:01 -07:00
Antonio Scandurra 7ea3f89aa9 Start integrating Copilot with editor
There's still a bit to do in terms of reusing the previous suggestion
when the prefix matches, but we're getting there.
2023-03-28 09:42:01 -07:00
Antonio ScandurraandMikayla Maki ec30e108af WIP: Start on showing window for authenticating with copilot
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2023-03-28 09:42:01 -07:00
Antonio Scandurra d830013859 Restructure verification code prompting to open a window instead
Also, prevent multiple calls to `sign_in` from racing with each other.
2023-03-28 09:42:01 -07:00
Mikayla Maki 847021d15d Wait to show the auth modal until the sign request has returned 2023-03-28 09:42:00 -07:00
Mikayla Maki 692d59dc81 Add basic copilot modal 2023-03-28 09:42:00 -07:00
Mikayla Maki a4bc9260f6 Add copilot theme, start sketching out the auth modal 2023-03-28 09:42:00 -07:00
Antonio ScandurraandMikayla Maki 61e7f569c1 Implement Copilot::completions_cycling
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2023-03-28 09:42:00 -07:00
Antonio Scandurra 3e6100c024 Successfully fetch completions from Copilot
We still need to process them and return them into a more Zed-friendly
structure, but we're getting there.
2023-03-28 09:42:00 -07:00
Antonio Scandurra a5bd93bf58 Start on copilot completions 2023-03-28 09:42:00 -07:00
Antonio Scandurra 0adce81528 🎨 2023-03-28 09:42:00 -07:00
Antonio Scandurra 32a9b58914 Implement Copilot sign in and sign out 2023-03-28 09:42:00 -07:00
Antonio Scandurra d00af1578a Start copilot and check sign in status 2023-03-28 09:42:00 -07:00
Antonio Scandurra ba4c257b50 Use the same serde version across the entire workspace 2023-03-28 09:42:00 -07:00
Mikayla Maki 533ab329e0 Fix bad global 2023-03-28 09:42:00 -07:00
1205cd55ea Add copilot crate
Refactor HTTP and github release downloading into util
Lazily download / upgrade the copilot LSP from Zed

Co-authored-by: Max <max@zed.dev>
Co-Authored-By: Antonio <antonio@zed.dev>
2023-03-28 09:41:59 -07:00