4698d57
Add unit test for `Project::definition`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
4698d57
Add unit test for `Project::definition`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
64f5a45
Hide weak worktrees in the file finder
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
2fcf1ae
Remove weak handles when worktree gets dropped
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
e5662dd
Allow observing the release of entities
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
6e7e86e
Remove weak worktrees from project when nobody references them
Also, avoid showing them in the project panel as well as in the contacts panel.
Antonio Scandurra created
ee95775
Unregister worktree when its last handle to it gets released
Antonio Scandurra created
9505d6c
Disable the nav history when selecting a definition in a different buffer
When jumping between different buffers, we don't care about the cursor's previous location. When navigating backward, we want to jump directly to the site of the jump.
Nathan Sobo created
1c21b51
Merge pull request #355 from zed-industries/activate-existing-windows
Move window to the foreground when opening a path in an existing workspace
Nathan Sobo created
fbca283
When opening a path in an existing window, move it to the foreground
Nathan Sobo created
377e41a
Make navigation history work with project diagnostics
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created
c450945
WIP
Antonio Scandurra created
fad5c98
Center selections when going to definition
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
b6685a5
Make "go to definition" work in project diagnostics
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
d92b404
Change `GoToDefinition` binding to `F12`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
a53c87e
:art:
Antonio Scandurra created
66734e1
WIP: Start on a `GoToDefinition` action for the editor
Antonio Scandurra created
cbbf739
Start on `Project::definition` that only works locally (for now)
Antonio Scandurra created
11a83d0
Advertise link capability in LSP
Antonio Scandurra created
6b1f989
Omit worktree id when emitting `Event::DiskBasedDiagnosticsUpdated`
Sometimes we will have more than one worktree associated with the same language server and in that case it's unclear which worktree id we should report an event for.
Antonio Scandurra created
71082d4
Return a `Task<Result<()>>` in `{ItemView,Buffer,MultiBuffer}::save`
Antonio Scandurra created
634340d
Return a task from `Workspace::save_active_item`
This required changing our approach to OS prompts and this commit greatly simplifies that. We now avoid passing a callback and return a simple future instead. This lets callers spawn tasks to handle those futures.
Antonio Scandurra created
e56c043
Get tests passing, centralize more diagnostic logic in Project
Max Brunsfeld created
0992132
Always open buffers via the project
Max Brunsfeld created
f43dcd6
Move logic for starting language servers to the project
Max Brunsfeld created
10c64f5
WIP
Antonio Scandurra created
8052f90
Remove unused `languages` field from `LocalWorktree`
Antonio Scandurra created
ae284c2
Route `save_as` via the `Project`
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra and Max Brunsfeld created
e7235a8
Remove unused `languages` field on `LocalWorktree`
Antonio Scandurra created
9c9a09c
Replace `project_path` with `project_entry` in `workspace::{Item, ItemView}`
Antonio Scandurra created
18f1040
Rename `Navigation` to `NavHistory`
Antonio Scandurra created
7c233ed
Merge pull request #349 from zed-industries/navigation-history
Add a navigation history
Antonio Scandurra created
05bf8f6
Avoid changing selection in buffer navigation dialogs
If an editor has highlighted_rows, autoscroll it to reveal those rows instead of its cursor positions.
Max Brunsfeld created
2cae706
Limit the storage used by the navigation history
Max Brunsfeld created
9263065
Add a unit test for navigation behavior at the editor level
Max Brunsfeld created
f7326b8
Push to navigation history based on jump distance instead of time
Max Brunsfeld created
16b82d5
Experiment with a more general way of pushing editor navigation entries
Antonio Scandurra created
0cae3e0
Ensure focus is transferred when opening the first item in pane
Antonio Scandurra created
b7091dd
Fix double borrow error when closing an item
Antonio Scandurra created
4f472e1
:fire:
Antonio Scandurra created
bb954e2
Introduce a test to verify navigation
Antonio Scandurra created
d5acbe1
Use offset to restore navigation position if anchor can't be resolved
Antonio Scandurra created
d480738
Skip past entries in the navigation history that can't be re-opened
Antonio Scandurra created
11b7270
Navigate to previous positions in editors when using navigation history
Max Brunsfeld created
e43d33c
WIP - Reopen closed items when going back in nav history
Max Brunsfeld created
ea624c6
Populate backward/forward stacks upon item deactivation
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra and Max Brunsfeld created
bbf634f
Start laying the foundation for a per-pane navigation system
Antonio Scandurra created
cd0d1d3
Delete unused `pane::State` struct
Antonio Scandurra created
c3b1530
Remove accidentally committed `test.md` file
Antonio Scandurra created
71f3ed4
Merge pull request #347 from zed-industries/fix-sharing-after-unsharing
Cleanup worktrees' shared state when unsharing
Antonio Scandurra created
f51cf6b
Cleanup worktrees' shared state when unsharing
Antonio Scandurra created