Add labeled tasks to gpui and observe them in the activity status to give feedback when we are still waiting for the language server
This commit is contained in:
parent
efafd1d8d3
commit
3564e95f27
4 changed files with 229 additions and 65 deletions
|
@ -227,7 +227,7 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn test_push_keystroke() -> Result<()> {
|
||||
actions!(test, [B, AB, C, D, DA]);
|
||||
actions!(test, [B, AB, C, D, DA, E, EF]);
|
||||
|
||||
let mut context1 = KeymapContext::default();
|
||||
context1.set.insert("1".into());
|
||||
|
@ -286,6 +286,7 @@ mod tests {
|
|||
matcher.push_keystroke(Keystroke::parse("d")?, dispatch_path.clone()),
|
||||
MatchResult::Matches(vec![(2, Box::new(D)), (1, Box::new(D))]),
|
||||
);
|
||||
|
||||
// If none of the d action handlers consume the binding, a pending
|
||||
// binding may then be used
|
||||
assert_eq!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue