Merge pull request #1867 from zed-industries/drag-project-entry-to-pane

Drag project entry to pane
This commit is contained in:
Kay Simmons 2022-11-10 17:25:22 -08:00 committed by GitHub
commit 3d5a3634cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 455 additions and 198 deletions

View file

@ -6464,7 +6464,7 @@ impl Editor {
}
fn jump(workspace: &mut Workspace, action: &Jump, cx: &mut ViewContext<Workspace>) {
let editor = workspace.open_path(action.path.clone(), true, cx);
let editor = workspace.open_path(action.path.clone(), None, true, cx);
let position = action.position;
let anchor = action.anchor;
cx.spawn_weak(|_, mut cx| async move {