aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_db/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Switch to fully dynamically dispatched salsaAleksey Kladov2020-07-071-18/+17
| | | | This improves compile times quite a bit
* Try to reduce Semantics monomorphisationsLaurențiu Nicola2020-07-011-1/+7
|
* Remove dead codeAleksey Kladov2020-06-111-16/+2
|
* Make relevant_crates return a SetAleksey Kladov2020-06-111-2/+2
|
* Minimize FileLoader interfaceAleksey Kladov2020-06-051-9/+2
|
* More direct signature for resolve_pathAleksey Kladov2020-06-051-2/+2
|
* Rename resolve_relative_path -> resolve_pathAleksey Kladov2020-06-051-6/+2
| | | | For things like `concant!(env!("OUT_DIR"))`, we need to support abs paths
* Remove dead code for handling cursor positionsAleksey Kladov2020-05-211-1/+0
|
* Remove cross-crate marksAleksey Kladov2020-05-201-1/+0
| | | | | They create quite a bit of friction. Really, we should just move the tests to the same crate, rather than paper over existing split.
* Lift SourceChange to the ra_ide_dbAleksey Kladov2020-05-061-0/+1
|
* Reload only the properties that do not affect vfsKirill Bulatov2020-03-301-4/+8
|
* 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