The Rust version of Starlark used in Buck2 apparently supports type annotations. I've never used it though and I have no idea about IDE support.
Allegedly it has an LSP and vscode support but I also have never used either.
https://github.com/facebook/buck2/tree/main/starlark-rust/vs...
Allegedly it has an LSP and vscode support but I also have never used either.
https://github.com/facebook/buck2/tree/main/starlark-rust/vs...