Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Use only one code-path for parsing fixtures | Aleksey Kladov | 2020-06-23 | 1 | -48/+3 | |
| | | | | | This removes leading newlines everywhere, shifting all ranges in tests by one | |||||
* | Centralize fixture parsing for assists | Aleksey Kladov | 2020-06-23 | 1 | -5/+15 | |
| | ||||||
* | Minor, rename | Aleksey Kladov | 2020-06-23 | 1 | -1/+1 | |
| | ||||||
* | Complicate | Aleksey Kladov | 2020-06-23 | 1 | -3/+48 | |
| | | | | | Fixing test fallout unfortunately requires more work, we need to do it, but let's merge something at least! | |||||
* | Cut problematic dependency | Aleksey Kladov | 2020-06-23 | 1 | -1/+5 | |
| | ||||||
* | Nicer API | Aleksey Kladov | 2020-06-23 | 1 | -5/+5 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-06-23 | 1 | -57/+13 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-06-23 | 1 | -5/+7 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-06-23 | 1 | -16/+14 | |
| | ||||||
* | Drop rarely used fixture functionality | Aleksey Kladov | 2020-06-23 | 1 | -16/+2 | |
| | ||||||
* | New VFS | Aleksey Kladov | 2020-06-23 | 3 | -110/+29 | |
| | ||||||
* | 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 | 3 | -1/+37 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -4/+20 | |
| | | ||||||
| * | Add ProcMacroClient | Edwin Cheng | 2020-03-25 | 3 | -1/+21 | |
| | | ||||||
* | | 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 | |
| |