Audit all TODOs in Zed and mark port related todos

This commit is contained in:
Mikayla 2024-01-09 22:22:59 -08:00
parent 02ef6fc973
commit c98d7adf83
No known key found for this signature in database
4 changed files with 4 additions and 3 deletions

View file

@ -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| {

View file

@ -1010,7 +1010,6 @@ impl EditorElement {
.chars_at(cursor_position)
.next()
.and_then(|(character, _)| {
// todo!() currently shape_line panics if text conatins newlines
let text = if character == '\n' {
SharedString::from(" ")
} else {

View file

@ -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 anything
file_finder
.picker
.update(cx, |picker, cx| picker.refresh(cx))

View file

@ -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());