36594ec
Use edition = 2018 instead of 2021 for the editor crate
Antonio Scandurra created
36594ec
Use edition = 2018 instead of 2021 for the editor crate
Antonio Scandurra created
bbb27b9
Move ChannelList, UserStore into client crate
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
94209d2
Rename rpc_client -> client
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
2f0212e
Rename worktree crate to project, pull in Project
Also, move the high-level fuzzy mathcing functions in zed::fuzzy into the fuzzy crate so that project can use them. This required defining a 'PathMatchCandidateSet' trait to avoid a circular dependency from fuzzy to worktree. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
748598e
Improve logging when avatar request fails
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
75cf248
List path dependencies first in all Cargo.toml files
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
1d97f08
Move editor into its own crate
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
d5b60ad
Rename zrpc to rpc
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
fdfed3d
Move all crates to a top-level crates folder
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
d768224
Clean commented dependencies
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
c236b08
Extract worktree, rpc_client, and util crates
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
1546202
Move `LanguageRegistry` into `buffer`
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created
becae9f
Pull out `buffer` into its own crate
Antonio Scandurra created
034aed0
Extract a `clock` subcrate for logical clocks
Antonio Scandurra created
5b75fcd
💄
Nathan Sobo created
6239b5e
Introduce ProjectPath and ProjectEntry structs
These replace tuples of (usize, Arc<Path>) and (usize, usize) respectively.
Nathan Sobo created
f000455
Introduce a File trait object to buffer
This will remove the dependency of buffer on `worktree::File`
Nathan Sobo created
7728467
Remove File::select_language
We want to make File a trait object defined in the buffer crate to decouple buffer from worktree, and this method is in the way. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
90cc01a
Select the language in Editor::save_as instead of Buffer::did_save
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
fcf6a9d
Move Buffer::save_as to Editor
This removes buffer's dependency on Worktree, preparing the path for us to pull it into its own crate. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
74a47a1
Extract fuzzy module to its own crate
We still have a fuzzy module in the zed crate with some app-specific logic. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
626fd2a
Fix warnings
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
706925b
Move fuzzy::match_paths to Project::match_paths
This prepares the way to extract the rest of fuzzy to its own crate. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
cf270b4
Extract sum_tree to its own crate
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
bd2d71a
Merge pull request #194 from zed-industries/investigate-compile-time
Explore some ways to reduce Zed's compile time
Nathan Sobo created
514d1b6
Reduce generic instantiations in read/update_view/model
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
8370b30
Avoid spawn_local instantiations due to different scheduling closure
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
48f9bc9
Box future outputs before passing them to async_task
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
7577a2b
Box futures before passing them to async_task APIs
This reduces the number of copies of each async_task function that get compiled. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
24918b5
Remove type parameters from Cursor::seek_internal
Instead, use trait objects for the target dimension and aggregation
Max Brunsfeld created
3719a9e
Use published prost crates
The previous version of prost didn't build on nightly rust.
Max Brunsfeld created
6a20937
Merge pull request #193 from zed-industries/project-browser
Add the project panel
Max Brunsfeld created
2b3e594
Add key bindings to toggle the project panel
- Use `cmd-1` to open the project panel and toggle focus between it and the workspace center. - Use `cmd-shift-1` to open or close the project panel.
Max Brunsfeld created
8dcd38c
Fix ProjectPanel test failure
Max Brunsfeld created
6007fa6
Style the active entry in the project panel
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
ad92bfe
Avoid duplicate notifications for the same entity in the same effect cycle
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
fef0bdf
Don't autoscroll the project panel when worktree changes
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
5fb112a
Vertically align root folder in project panel with tabs and sidebar icons
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
177306d
Add 'overlay' property to border
For containers, this causes the border to be drawn on top of the child element. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
e37ea6c
Avoid rendering artifacts when label text is shaped with a non-integer width
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
6fba17a
Add disclosure arrows to the project panel
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
18a379f
Scope the left and right bindings in the project panel
Nathan Sobo created
41fea2d
Open buffer when trying to expand a file
Antonio Scandurra created
e987318
:lipstick:
Antonio Scandurra created
2f508af
Rename active entry to selected entry
Antonio Scandurra created
19325fd
Allow expanding/collapsing active entry using the keyboard
Antonio Scandurra created
789d5df
Allow selecting prev and next entries via the keyboard
Antonio Scandurra created
7a1cdc9
Fix panic when rendering multiple worktrees in project panel
Antonio Scandurra created
5cd2c56
Merge branch 'main' into project-browser
Antonio Scandurra created
d182182
Avoid ProjectPanel panic when worktree has no root entry
Also, avoid bug where too many UniformList elements were rendered.
Max Brunsfeld created