blob: b32367aff3aae60bf51e768f7bc8139ab9a39771 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Static call hierarchy in a dedicated pane; sites and declarations are Look targets.
file main.rs mod lib;\n\nfn main() {\n let x = add(1, 2);\n let y = add(3, 4);\n let _ = x + y;\n}\n
file lib.rs // mock fixture\npub fn add(a: i32, b: i32) -> i32 {\n a + b\n}\n
start 40 110 main.rs
wait 8000 add(1, 2)
stable 700 20000
press left 13 6
release left 13 6
key g c
wait 10000 Callstack
wait 10000 recursion
stable 700 15000
snap hierarchy
# LookNext selects the caller signature; Enter opens it in the source pane.
key space j n
key enter
wait 10000 fn main
stable 700 15000
snap caller
|