Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Remove RelativePathBuf from fixture | Aleksey Kladov | 2020-06-22 | 1 | -5/+5 | |
| | | | | | The paths in fixture are not really relative (the default one is `/main.rs`), so it doesn't make sense to use `RelativePathBuf` here. | |||||
* | Don't panic on crates depending on themselves | Florian Diebold | 2020-06-19 | 1 | -5/+30 | |
| | | | | Fixes #3883. | |||||
* | Make relevant_crates return a Set | Aleksey Kladov | 2020-06-11 | 2 | -12/+16 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-06-09 | 2 | -9/+5 | |
| | ||||||
* | Merge #4760 | bors[bot] | 2020-06-05 | 1 | -29/+24 | |
|\ | | | | | | | | | | | | | | | | | | | | | 4760: Minimize FileLoader interface r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Minimize FileLoader interface | Aleksey Kladov | 2020-06-05 | 1 | -29/+24 | |
| | | ||||||
| | | ||||||
| \ | ||||||
*-. \ | Merge #4729 #4748 | bors[bot] | 2020-06-05 | 1 | -2/+2 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4729: Hover actions r=matklad a=vsrs This PR adds a `hoverActions` LSP extension and a `Go to Implementations` action as an example: ![hover_actions_impl](https://user-images.githubusercontent.com/62505555/83335732-6d9de280-a2b7-11ea-8cc3-75253d062fe0.gif) 4748: Add an `ImportMap` and use it to resolve item paths in `find_path` r=matklad a=jonas-schievink Removes the "go faster" queries I added in https://github.com/rust-analyzer/rust-analyzer/pull/4501 and https://github.com/rust-analyzer/rust-analyzer/pull/4506. I've checked this PR on the rustc code base and the assists are still fast. This should fix https://github.com/rust-analyzer/rust-analyzer/issues/4515. Note that this does introduce a change in behavior: We now always refer to items defined in external crates using paths through the external crate. Previously we could also use a local path (if for example the extern crate was reexported locally), as seen in the changed test. If that is undesired I can fix that, but the test didn't say why the previous behavior would be preferable. Co-authored-by: vsrs <[email protected]> Co-authored-by: Jonas Schievink <[email protected]> Co-authored-by: Jonas Schievink <[email protected]> | |||||
| | * | Add an ImportMap | Jonas Schievink | 2020-06-04 | 1 | -2/+2 | |
| |/ | ||||||
* | | More direct signature for resolve_path | Aleksey Kladov | 2020-06-05 | 1 | -8/+13 | |
| | | ||||||
* | | Rename resolve_relative_path -> resolve_path | Aleksey Kladov | 2020-06-05 | 1 | -7/+2 | |
|/ | | | | For things like `concant!(env!("OUT_DIR"))`, we need to support abs paths | |||||
* | Fix some clippy perf warnings | Jeremy Kolb | 2020-05-25 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #4495 from vsrs/fixture_meta | Aleksey Kladov | 2020-05-24 | 2 | -49/+36 | |
|\ | | | | | Test fixtures parsing improvements | |||||
| * | Propogate fixture meta to AnalysisHost | vsrs | 2020-05-16 | 2 | -8/+17 | |
| | | | | | | | | Except crate name. | |||||
| * | Remove temporary FixtureEntry parsed_meta field. | vsrs | 2020-05-16 | 1 | -2/+2 | |
| | | ||||||
| * | Reimplement ra_db::fixture::ParsedMeta | vsrs | 2020-05-16 | 1 | -48/+26 | |
| | | | | | | | | in terms of test_utils::FixtureMeta | |||||
* | | Expand fixture documentation a little | Timo Freiberg | 2020-05-10 | 1 | -3/+17 | |
|/ | ||||||
* | Add fixture doc comment | Timo Freiberg | 2020-05-06 | 1 | -1/+45 | |
| | ||||||
* | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 1 | -2/+2 | |
| | ||||||
* | Some clippy fixes | Jeremy Kolb | 2020-04-19 | 2 | -2/+2 | |
| | ||||||
* | Merge #3727 | bors[bot] | 2020-03-26 | 4 | -1/+38 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 3727: Introduce ra_proc_macro r=matklad a=edwin0cheng This PR implemented: 1. Reading dylib path of proc-macro crate from cargo check , similar to how `OUTDIR` is obtained. 2. Added a new crate `ra_proc_macro` and implement the foot-work for reading result from external proc-macro expander. 3. Added a struct `ProcMacroClient` , which will be responsible to the client side communication to the External process. Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | Remove deps on tt_mbe | Edwin Cheng | 2020-03-26 | 3 | -5/+21 | |
| | | ||||||
| * | Add ProcMacroClient | Edwin Cheng | 2020-03-25 | 4 | -1/+22 | |
| | | ||||||
* | | Minor incremental tests cleanup | Aleksey Kladov | 2020-03-26 | 1 | -2/+2 | |
|/ | ||||||
* | Support loading OUT_DIR from cargo check at launch | Emil Lauridsen | 2020-03-17 | 1 | -10/+11 | |
| | ||||||
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 1 | -0/+4 | |
| | | | | | | | 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). | |||||
* | Use Display instead of a custom method | Kirill Bulatov | 2020-03-16 | 1 | -2/+5 | |
| | ||||||
* | Fix crate display name dashes | Kirill Bulatov | 2020-03-16 | 2 | -4/+11 | |
| | ||||||
* | Add extern source | Edwin Cheng | 2020-03-11 | 3 | -7/+33 | |
| | ||||||
* | Add resolve_extern_path in DB | Edwin Cheng | 2020-03-10 | 1 | -1/+17 | |
| | ||||||
* | Add ExternSourceId and env functions | Edwin Cheng | 2020-03-10 | 1 | -0/+27 | |
| | ||||||
* | Add fixture meta for single file fixture | Edwin Cheng | 2020-03-10 | 2 | -15/+48 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-03-09 | 1 | -7/+1 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-03-09 | 1 | -18/+8 | |
| | ||||||
* | Minimize API | Aleksey Kladov | 2020-03-09 | 1 | -6/+2 | |
| | ||||||
* | Use `Index` for CrateGraph | Aleksey Kladov | 2020-03-09 | 1 | -7/+10 | |
| | ||||||
* | Less abstract CrateData api | Kirill Bulatov | 2020-03-09 | 1 | -33/+27 | |
| | ||||||
* | Consider crate declaration names | Kirill Bulatov | 2020-03-08 | 2 | -23/+87 | |
| | ||||||
* | Source map returns a result | Aleksey Kladov | 2020-03-06 | 1 | -2/+2 | |
| | | | | cc #2236 | |||||
* | ra_db: removed a couple of explicit lifetimes | Veetaha | 2020-02-22 | 1 | -5/+2 | |
| | ||||||
* | Update versions | Kirill Bulatov | 2020-02-18 | 1 | -1/+1 | |
| | ||||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 1 | -1/+1 | |
| | ||||||
* | Rename the binary to rust-analyzer | Aleksey Kladov | 2020-02-18 | 1 | -1/+1 | |
| | ||||||
* | Apply the reviews suggestions | Kirill Bulatov | 2020-02-05 | 3 | -17/+30 | |
| | ||||||
* | Normalize dashes in crate names | Kirill Bulatov | 2020-02-05 | 1 | -8/+33 | |
| | ||||||
* | Remove the Default impl for SourceRoot | Michal Terepeta | 2020-01-08 | 2 | -7/+7 | |
| | | | | | | | | | Let's be always explicit whether we create a library (i.e., an immutable dependency) or a local `SourceRoot`, since it can have a large impact on the validation performance in salsa. (we found it the hard way recently, where the `Default` instance made it quite tricky to spot a bug) Signed-off-by: Michal Terepeta <[email protected]> | |||||
* | Run rustfmt with respect to Cargo.toml edition | Vincent Rouillé | 2019-12-04 | 1 | -0/+9 | |
| | ||||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 1 | -1/+1 | |
| | ||||||
* | :arrow_up: salsa | Aleksey Kladov | 2019-11-26 | 1 | -1/+1 | |
| | ||||||
* | Pull macro up | Aleksey Kladov | 2019-11-24 | 1 | -0/+14 | |
| | ||||||
* | Reorder | Aleksey Kladov | 2019-11-22 | 1 | -37/+37 | |
| |