- Work started in #1149 - See https://github.com/cursorless-dev/cursorless/issues/579#issuecomment-1161627378 for discussion ### Implementation matrix | | Python | Rust | Java | Typescript | C++ | C# | | ----------- | ------ | ---- | ---- | ---------- | --- | --- | | Switch-case | ✅ | ✅ | ✅ | ✅ | | | | If-else | ✅ | ✅ | | ✅ | | | | Try-catch | ✅ | N/A | | ✅ | | | | Ternary | ✅ | ✅ | | ✅ | | | ### Implementation specs #### Case statements <img width="414" alt="image" src="https://user-images.githubusercontent.com/755842/174789544-3838eb01-f426-4253-a733-9bfb2737fc0e.png"> <img width="399" alt="image" src="https://user-images.githubusercontent.com/755842/174789558-20ada14a-2c64-45d4-94ee-c5aa571a7d2d.png"> #### If-else branches <img width="238" alt="image" src="https://user-images.githubusercontent.com/755842/207622885-33c02015-d769-4f8d-9b4a-4b63e725c1ca.png"> <img width="233" alt="image" src="https://user-images.githubusercontent.com/755842/207622893-05d70984-a973-40e4-aa57-e36140910bfa.png"> #### Try-catch branches #### Ternary branches
"branch"scope type #1149Implementation matrix
Implementation specs
Case statements
If-else branches
Try-catch branches
Ternary branches