[WIP] editor: Implement next/prev reference (#41078)
Co-authored-by: Cole <cole@zed.dev> Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
co-authored by
Cole
Conrad Irwin
parent
b75736568b
commit
5e7927f628
@@ -495,6 +495,8 @@ impl EditorElement {
|
||||
register_action(editor, window, Editor::collapse_all_diff_hunks);
|
||||
register_action(editor, window, Editor::go_to_previous_change);
|
||||
register_action(editor, window, Editor::go_to_next_change);
|
||||
register_action(editor, window, Editor::go_to_prev_reference);
|
||||
register_action(editor, window, Editor::go_to_next_reference);
|
||||
|
||||
register_action(editor, window, |editor, action, window, cx| {
|
||||
if let Some(task) = editor.format(action, window, cx) {
|
||||
|
||||
Reference in New Issue
Block a user