aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_db/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use `dyn Trait` for working with databseAleksey Kladov2020-03-161-1/+14
| | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate).
* Merge #3549bors[bot]2020-03-111-0/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3549: Implement env! macro r=matklad a=edwin0cheng This PR implements `env!` macro by adding following things: 1. Added `additional_outdirs` settings in vscode. (naming to be bikeshed) 2. Added `ExternSourceId` which is a wrapping for SourceRootId but only used in extern sources. It is because `OUT_DIR` is not belonged to any crate and we have to access it behind an `AstDatabase`. 3. This PR does not implement the `OUT_DIR` parsing from `cargo check`. I don't have general design about this, @kiljacken could we reuse some cargo watch code for that ? ~~Block on [#3536]~~ PS: After this PR , we (kind of) completed the `include!(concat!(env!('OUT_DIR'), "foo.rs")` macro call combo. [Exodia Obliterate!](https://www.youtube.com/watch?v=RfqNH3FoGi0) Co-authored-by: Edwin Cheng <[email protected]>
| * Add resolve_extern_path in DBEdwin Cheng2020-03-101-0/+7
| |
* | Move FeatureFlagsAleksey Kladov2020-03-101-7/+3
|/
* Consider crate declaration namesKirill Bulatov2020-03-081-6/+0
|
* Show mod path in hover tooltipKirill Bulatov2020-03-071-0/+4
|
* Move SearchScopeAleksey Kladov2020-03-041-0/+1
|
* Support cross-crate marksAleksey Kladov2020-03-041-0/+1
|
* Move imports locator to ide_dbAleksey Kladov2020-02-061-0/+1
|
* Move NameKind upAleksey Kladov2020-02-061-0/+1
|
* CleanupAleksey Kladov2020-02-061-1/+3
|
* Move to a crateAleksey Kladov2020-02-061-0/+136