mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-29 21:49:33 +00:00
Audit all TODOs in Zed and mark port related todos
This commit is contained in:
parent
02ef6fc973
commit
c98d7adf83
4 changed files with 4 additions and 3 deletions
|
@ -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| {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue