This commit is contained in:
Joseph T. Lyons
2024-01-06 14:41:35 -05:00
parent 3d1f522566
commit cdd5cb16ed
14 changed files with 348 additions and 258 deletions
+1 -2
View File
@@ -8874,7 +8874,7 @@ impl Editor {
let telemetry = project.read(cx).client().telemetry().clone();
telemetry.report_copilot_event(suggestion_id, suggestion_accepted, file_extension, cx)
telemetry.report_copilot_event(suggestion_id, suggestion_accepted, file_extension)
}
#[cfg(any(test, feature = "test-support"))]
@@ -8926,7 +8926,6 @@ impl Editor {
operation,
copilot_enabled,
copilot_enabled_for_language,
cx,
)
}
+1
View File
@@ -866,6 +866,7 @@ impl Item for Editor {
}
fn to_item_events(event: &EditorEvent, mut f: impl FnMut(ItemEvent)) {
dbg!(event);
match event {
EditorEvent::Closed => f(ItemEvent::CloseItem),