166 releases

new 0.0.216 May 20, 2024
0.0.213 Apr 29, 2024
0.0.207 Mar 25, 2024
0.0.190 Dec 18, 2023
0.0.26 Nov 30, 2020

#62 in Text editors

Download history 1608/week @ 2024-01-28 1731/week @ 2024-02-04 1358/week @ 2024-02-11 1713/week @ 2024-02-18 3638/week @ 2024-02-25 1754/week @ 2024-03-03 1838/week @ 2024-03-10 2080/week @ 2024-03-17 1835/week @ 2024-03-24 1877/week @ 2024-03-31 2018/week @ 2024-04-07 2034/week @ 2024-04-14 1545/week @ 2024-04-21 1391/week @ 2024-04-28 1290/week @ 2024-05-05 1561/week @ 2024-05-12

6,014 downloads per month
Used in 11 crates (4 directly)

MIT/Apache

1MB
43K SLoC

ide crate provides "ide-centric" APIs for the rust-analyzer. That is, it generally operates with files and text ranges, and returns results as Strings, suitable for displaying to the human.

What powers this API are the RootDatabase struct, which defines a salsa database, and the hir crate, where majority of the analysis happens. However, IDE specific bits of the analysis (most notably completion) happen in this crate.

Dependencies

~21–30MB
~576K SLoC