Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Make relevant_crates return a Set | Aleksey Kladov | 2020-06-11 | 1 | -7/+13 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-06-09 | 1 | -1/+1 | |
| | ||||||
* | 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 | |||||
* | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 1 | -2/+2 | |
| | ||||||
* | Remove deps on tt_mbe | Edwin Cheng | 2020-03-26 | 1 | -1/+0 | |
| | ||||||
* | Add ProcMacroClient | Edwin Cheng | 2020-03-25 | 1 | -1/+2 | |
| | ||||||
* | 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). | |||||
* | Add extern source | Edwin Cheng | 2020-03-11 | 1 | -2/+2 | |
| | ||||||
* | Add resolve_extern_path in DB | Edwin Cheng | 2020-03-10 | 1 | -1/+17 | |
| | ||||||
* | Apply the reviews suggestions | Kirill Bulatov | 2020-02-05 | 1 | -1/+3 | |
| | ||||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 1 | -1/+1 | |
| | ||||||
* | Pull macro up | Aleksey Kladov | 2019-11-24 | 1 | -0/+14 | |
| | ||||||
* | Add support for environment to CrateGraph | Aleksey Kladov | 2019-11-22 | 1 | -1/+1 | |
| | ||||||
* | Introduce ra_db::fixture fixture module | Aleksey Kladov | 2019-11-03 | 1 | -1/+2 | |
| | | | | The goal here is to share more testing infrastructure between crates. | |||||
* | remove relative_path_buf workaround | Aleksey Kladov | 2019-10-27 | 1 | -4/+1 | |
| | | | | The upstream problem was fixed with the change to 1.0 | |||||
* | Prepare SourceDatabase API for lazy file loading | Aleksey Kladov | 2019-10-14 | 1 | -34/+60 | |
| | ||||||
* | remove last traces of source roots from hir | Aleksey Kladov | 2019-10-11 | 1 | -1/+25 | |
| | ||||||
* | replace horrible hack with a slightly less horrible one | Aleksey Kladov | 2019-09-27 | 1 | -3/+2 | |
| | ||||||
* | make source_root API more abstract | Aleksey Kladov | 2019-09-06 | 1 | -3/+2 | |
| | ||||||
* | make Parse generic | Aleksey Kladov | 2019-07-18 | 1 | -3/+3 | |
| | ||||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -6/+4 | |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | |||||
* | make LRU_CAP configurable for batch db | Aleksey Kladov | 2019-06-12 | 1 | -0/+2 | |
| | ||||||
* | fix syntax errors in tests | Aleksey Kladov | 2019-05-28 | 1 | -3/+3 | |
| | ||||||
* | add profile calls to parsing/expansion routines | Aleksey Kladov | 2019-05-22 | 1 | -1/+4 | |
| | ||||||
* | Assert that DB is unwind-safe, instead of proving | Aleksey Kladov | 2019-05-18 | 1 | -3/+4 | |
| | | | | | | | | | | | | | Unfortunately, that `: RefUnwindSafe` bound gives rustc a hard time, so let's remove it for know. See * https://github.com/rust-analyzer/rust-analyzer/issues/1283 * https://github.com/rust-lang/rust/pull/60444 * https://github.com/rust-lang/rust/issues/58291 closes #1283 | |||||
* | drop old interning infra | Aleksey Kladov | 2019-04-09 | 1 | -5/+1 | |
| | ||||||
* | Fixed typo in `Interner`’s name (`Intener`) | Vincent Esche | 2019-03-20 | 1 | -1/+1 | |
| | ||||||
* | Keep track of crate edition | Florian Diebold | 2019-02-13 | 1 | -1/+1 | |
| | ||||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -5/+2 | |
| | ||||||
* | move assists to a separate crate | Aleksey Kladov | 2019-02-06 | 1 | -1/+1 | |
| | ||||||
* | make HirDatabase object-safe | Aleksey Kladov | 2019-02-03 | 1 | -11/+16 | |
| | ||||||
* | remove dead code | Aleksey Kladov | 2019-01-27 | 1 | -1/+0 | |
| | ||||||
* | rename source_file -> parse | Aleksey Kladov | 2019-01-26 | 1 | -2/+2 | |
| | ||||||
* | rename FilesDatabase -> SourceDatabase | Aleksey Kladov | 2019-01-26 | 1 | -4/+6 | |
| | ||||||
* | move ide queries to ide db | Aleksey Kladov | 2019-01-26 | 1 | -8/+0 | |
| | ||||||
* | fold syntax database into files database | Aleksey Kladov | 2019-01-26 | 1 | -8/+5 | |
| | ||||||
* | :arrow_up: salsa | Aleksey Kladov | 2019-01-25 | 1 | -2/+2 | |
| | ||||||
* | :arrow_up salsa | Aleksey Kladov | 2019-01-25 | 1 | -14/+54 | |
| | ||||||
* | Change ids strategy | Aleksey Kladov | 2019-01-24 | 1 | -1/+1 | |
| | | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids | |||||
* | move SyntaxPtr to ra_syntax | Aleksey Kladov | 2019-01-23 | 1 | -2/+0 | |
| | ||||||
* | :arrow_up: salsa | Aleksey Kladov | 2019-01-17 | 1 | -6/+4 | |
| | ||||||
* | remove Canceled from API impl | Aleksey Kladov | 2019-01-15 | 1 | -1/+1 | |
| | ||||||
* | check_canceled does not return Result | Aleksey Kladov | 2019-01-15 | 1 | -2/+14 | |
| | ||||||
* | update salsa | Aleksey Kladov | 2019-01-15 | 1 | -2/+3 | |
| | ||||||
* | rename TreePtr -> TreeArc | Aleksey Kladov | 2019-01-11 | 1 | -3/+3 | |
| | | | | This is much clearer about the semantics |