starkware-libs / cairo

Cairo is the first Turing-complete language for creating provable programs for general computation.
Apache License 2.0
1.56k stars 479 forks source link

LS: Implement `features` selection in extension #6445

Open Arcticae opened 9 hours ago

Arcticae commented 9 hours ago

We should allow users to specify features they want their extension/language server to recognize This should be done to allow the code analysis as well in those parts of the project that are surrounded with cfg(feature="...")

There should be a UI available for configuring this in VSCode, like in Rust Analyzer: image