Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 1 | -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 #3549 | bors[bot] | 2020-03-11 | 1 | -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 DB | Edwin Cheng | 2020-03-10 | 1 | -0/+7 |
| | | |||||
* | | Move FeatureFlags | Aleksey Kladov | 2020-03-10 | 1 | -7/+3 |
|/ | |||||
* | Consider crate declaration names | Kirill Bulatov | 2020-03-08 | 1 | -6/+0 |
| | |||||
* | Show mod path in hover tooltip | Kirill Bulatov | 2020-03-07 | 1 | -0/+4 |
| | |||||
* | Move SearchScope | Aleksey Kladov | 2020-03-04 | 1 | -0/+1 |
| | |||||
* | Support cross-crate marks | Aleksey Kladov | 2020-03-04 | 1 | -0/+1 |
| | |||||
* | Move imports locator to ide_db | Aleksey Kladov | 2020-02-06 | 1 | -0/+1 |
| | |||||
* | Move NameKind up | Aleksey Kladov | 2020-02-06 | 1 | -0/+1 |
| | |||||
* | Cleanup | Aleksey Kladov | 2020-02-06 | 1 | -1/+3 |
| | |||||
* | Move to a crate | Aleksey Kladov | 2020-02-06 | 1 | -0/+136 |