aboutsummaryrefslogtreecommitdiff
path: root/crates/base_db
Commit message (Collapse)AuthorAgeFilesLines
* Better fixture highlightAleksey Kladov2021-01-071-5/+11
|
* Add support for Rust 2021.Mara Bos2021-01-011-2/+5
|
* Pass crate environment to proc macrosJonas Schievink2020-12-271-2/+10
|
* Move TokenExpander to base_db and rename itJonas Schievink2020-12-272-4/+9
| | | | It's only used to break the dependency to proc_macro_api
* Introduce anchored_pathAleksey Kladov2020-12-091-8/+2
| | | | | They allow to represent paths like `#[path = "C:\path.rs"] mod foo;` in a lossless cross-platform & network-transparent way.
* .Aleksey Kladov2020-12-091-3/+4
|
* Retain types of proc macros and allow attr. macrosJonas Schievink2020-12-072-5/+10
|
* Compress codeAleksey Kladov2020-11-171-2/+18
|
* Deny unreachable-pubAleksey Kladov2020-11-022-5/+3
| | | | | | | | It's very useful when `pub` is equivalent to "this is crate's public API", let's enforce this! Ideally, we should enforce it for local `cargo test`, and only during CI, but that needs https://github.com/rust-lang/cargo/issues/5034.
* More type safety around namesAleksey Kladov2020-10-203-11/+24
|
* Introduce CrateDisplayNameAleksey Kladov2020-10-201-1/+23
|
* Rename declaration_name -> display_nameAleksey Kladov2020-10-201-9/+11
| | | | | | | | Declaration names sounds like a name of declaration -- something you can use for analysis. It empathically isn't, and is just a label displayed in various UI. It's important not to confuse the two, least we accidentally mix semantics with UI (I believe, there's already a case of this in the FamousDefs at least).
* Add a hacky remidy for #6038Aleksey Kladov2020-10-201-0/+23
| | | | | | | The proper fix I think is: * move rust-lang/rust library crates to a separate workspace * when packaging rust-src component, vendor sources of external deps
* :arrow_up: salsaAleksey Kladov2020-10-141-1/+1
|
* Improve prime_caches and display its progressJonas Schievink2020-10-121-0/+28
|
* Properly name the fieldKirill Bulatov2020-10-021-6/+7
|
* Fix the hover dash issuesKirill Bulatov2020-10-022-5/+5
|
* Add a dash testKirill Bulatov2020-10-021-2/+2
|
* Get rid of MockAnalysisAleksey Kladov2020-10-021-6/+8
|
* Rewrite fixtures on top of ChangeAleksey Kladov2020-10-021-83/+90
|
* Move ide::AnalysisChange -> base_db::ChangeAleksey Kladov2020-10-022-0/+99
| | | | | | This seems like a better factoring logically; ideally, clients shouldn't touch `set_` methods of the database directly. Additionally, I think this should remove the unfortunate duplication in fixture code.
* Move most of the logic into the completion moduleKirill Bulatov2020-09-092-83/+9
|
* Finally cretae the mod completion moduleKirill Bulatov2020-09-091-1/+1
|
* Move rust-related logic from vfs to base_db levelKirill Bulatov2020-09-091-1/+69
|
* Properly handle special cases (binaries, mod.rs)Kirill Bulatov2020-09-091-23/+1
|
* Exclude special filesKirill Bulatov2020-09-091-0/+5
|
* Small refactoringKirill Bulatov2020-09-091-21/+15
|
* Happy path implementedKirill Bulatov2020-09-091-4/+12
|
* Properly use FileSet APIKirill Bulatov2020-09-091-10/+8
|
* Better APIKirill Bulatov2020-09-091-3/+20
|
* First steps for mod<|> completionKirill Bulatov2020-09-091-2/+14
|
* Add description for crates that will be publishedPavan Kumar Sunkara2020-08-241-0/+1
|
* Add version to deps in cargo.tomlPavan Kumar Sunkara2020-08-241-7/+7
|
* Rename ra_ide -> ideAleksey Kladov2020-08-131-1/+1
|
* Rename ra_db -> base_dbAleksey Kladov2020-08-135-0/+917