5648c67
Perform path matching on Worktree snapshots
Click to expand commit body
We're going to need something that can be moved to a background thread. Worktree used to be easy to clone, but that's no longer really true. Instead we can take a snapshot.
Take a callback instead of an mpsc Sender. The
run method blocks and invokes the callback for
each batch of events. The caller controls the
threading. The callback can return false to terminate
the event stream.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
* Enforce a min width per tab
* Center the title within tab, regardless of icon
* Render icon over the top of the tab title
* Ensure there is always a fixed minimum amount of filler to the right of all tabs
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
36699dc
Avoid setting constrain min to infinity in Flex layout
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
f575296
Include constraints in element tree JSON debug output
4cef25e
Replace easy-parallel with scoped-pool for path searches
Click to expand commit body
The easy-parallel crate spawned new threads on each call, which was resulting in way too many threads.
Co-Authored-By: Brooks Swinnerton <934497+bswinnerton@users.noreply.github.com>
Nathan Sobo
and
Brooks Swinnerton
created
f455355
Merge pull request #20 from zed-industries/async-prompt-for-paths
Click to expand commit body
Prompt for paths asynchronously to avoid double borrow
Nathan Sobo
created
cf23b0e
Prompt for paths asynchronously to avoid double borrow
Antonio Scandurra
created
29d2236
Merge pull request #19 from zed-industries/single-global-action-dispatch
Click to expand commit body
Dispatch global actions only once when triggering a menu item
Antonio Scandurra
created
fb3a190
Merge pull request #18 from zed-industries/copy-paste
Click to expand commit body
Introduce cut/copy/paste support
Antonio Scandurra
created
f755cbb
Dispatch global actions only once when triggering a menu item
Click to expand commit body
Previously we would dispatch the same global action more than once
because we would invoke `dispatch_action_any` _and_
`dispatch_global_action_any`. However, the former already takes care of
going through the global action handlers when no entity in the dispatch
path handled the action.