Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Audit all TODOs in Zed and mark port related todos
Mikaylac98d7adf83f0
diff --git a/crates/call/src/call.rs b/crates/call/src/call.rsindex 3561cc33852..fb437162f23 100644--- a/crates/call/src/call.rs+++ b/crates/call/src/call.rs@@ -239,7 +239,8 @@ impl ActiveCall {if result.is_ok() {this.update(&mut cx, |this, cx| this.report_call_event("invite", cx))?;} else {- // TODO: Resport collaboration error+ //TODO: report collaboration error+ log::error!("invite failed: {:?}", result);}this.update(&mut cx, |this, cx| {diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rsindex 7efb43bd485..ca7b193a45f 100644--- a/crates/editor/src/element.rs+++ b/crates/editor/src/element.rs@@ -1010,7 +1010,6 @@ impl EditorElement {.chars_at(cursor_position).next().and_then(|(character, _)| {- // todo!() currently shape_line panics if text conatins newlineslet text = if character == '\n' {SharedString::from(" ")} else {diff --git a/crates/file_finder/src/file_finder.rs b/crates/file_finder/src/file_finder.rsindex d49eb9ee603..0fe36084c2a 100644--- a/crates/file_finder/src/file_finder.rs+++ b/crates/file_finder/src/file_finder.rs@@ -312,7 +312,7 @@ impl FileFinderDelegate {cx: &mut ViewContext<FileFinder>,) -> Self {cx.observe(&project, |file_finder, _, cx| {- //todo!() We should probably not re-render on every project anything+ //todo We should probably not re-render on every project anythingfile_finder.picker.update(cx, |picker, cx| picker.refresh(cx))diff --git a/crates/gpui/src/action.rs b/crates/gpui/src/action.rsindex ef02316f83e..b9cdd4a8bce 100644--- a/crates/gpui/src/action.rs+++ b/crates/gpui/src/action.rs@@ -128,6 +128,7 @@ impl ActionRegistry {}fn insert_action(&mut self, action: ActionData) {+ //todo!(remove)let name: SharedString = action.name.into();self.builders_by_name.insert(name.clone(), action.build);self.names_by_type_id.insert(action.type_id, name.clone());