3 ms·
This is how Rust Analyzers intellisense works, it uses a query engine called Salsa that stores the symbols in a database and the linting and completion/semantic
by gavinray 6y ago
This is how Rust Analyzers intellisense works, it uses a query engine called Salsa that stores the symbols in a database and the linting and completion/semantics are entirely query-driven:
https://github.com/salsa-rs/salsa https://github.com/salsa-rs/salsa
Good video describing it's use for working with Rust's AST:
https://youtu.be/i_IhACacPRY?t=1348 https://youtu.be/i_IhACacPRY?t=1348