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.
This commit is contained in:
parent
b16e2169ce
commit
2f95510a2e
6 changed files with 183 additions and 12 deletions
|
@ -7,7 +7,7 @@ use gpui::{
|
|||
use settings::Settings;
|
||||
|
||||
pub fn init(cx: &mut MutableAppContext) {
|
||||
let copilot = Copilot::global(cx);
|
||||
let copilot = Copilot::global(cx).unwrap();
|
||||
|
||||
let mut code_verification_window_id = None;
|
||||
cx.observe(&copilot, move |copilot, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue