Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge #1382 | bors[bot] | 2019-06-12 | 13 | -15/+63 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1382: use salsa's LRU for syntax trees r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | make LRU cache configurable | Aleksey Kladov | 2019-06-12 | 8 | -11/+48 | |
| | | | ||||||
| * | | make LRU_CAP configurable for batch db | Aleksey Kladov | 2019-06-12 | 3 | -4/+11 | |
| | | | ||||||
| * | | use salsa's LRU for syntax trees | Aleksey Kladov | 2019-06-12 | 5 | -7/+11 | |
| | | | ||||||
* | | | Merge #1396 | bors[bot] | 2019-06-12 | 1 | -4/+4 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1396: fixed wrong links again r=matklad a=zbelial Hi Sorry about that I didn't check all links in my previous PR and two of them were incorrectly fixed. I think they are all proporly fixed this time :) Co-authored-by: zjy <[email protected]> | |||||
| * | | | fixed wrong links again | zjy | 2019-06-12 | 1 | -4/+4 | |
|/ / / | ||||||
* | | | Merge #1394 | bors[bot] | 2019-06-11 | 1 | -6/+23 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1394: Fix hover for pat that shadows items r=matklad a=sinkuu ```rust fn x() {} fn y() { let x = 0i32; x; // hover on `x` is expected to be `i32`, but the actual result was `fn x()` } ``` This was because: if [`res.is_empty()`](https://github.com/sinkuu/rust-analyzer/blob/656a0fa9f99298123d7dcee8c65a8a5ed7043bc4/crates/ra_ide_api/src/hover.rs#L205), it fallbacks to "index based approach" and adds `fn x()` to `res`, which makes [`res.extend(type_of)` below](https://github.com/sinkuu/rust-analyzer/blob/656a0fa9f99298123d7dcee8c65a8a5ed7043bc4/crates/ra_ide_api/src/hover.rs#L260-L266) not happen. Co-authored-by: Shotaro Yamada <[email protected]> | |||||
| * | | Fix hover for pat that shadows items | Shotaro Yamada | 2019-06-11 | 1 | -6/+23 | |
| | | | ||||||
* | | | Merge #1395 | bors[bot] | 2019-06-11 | 25 | -449/+324 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 1395: move docs under code model r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | move docs under code model | Aleksey Kladov | 2019-06-11 | 6 | -14/+10 | |
| | | | ||||||
| * | | fix compilation | Aleksey Kladov | 2019-06-11 | 2 | -5/+5 | |
| | | | ||||||
| * | | minor formatting | Aleksey Kladov | 2019-06-11 | 1 | -4/+0 | |
| | | | ||||||
| * | | remove unneded From(..) impl | Aleksey Kladov | 2019-06-11 | 4 | -37/+21 | |
| | | | ||||||
| * | | move source to a seaparate file | Aleksey Kladov | 2019-06-11 | 3 | -121/+125 | |
| | | | ||||||
| * | | remove inherent source impls | Aleksey Kladov | 2019-06-11 | 15 | -67/+22 | |
| | | | ||||||
| * | | use Source for module, part 2 | Aleksey Kladov | 2019-06-11 | 3 | -8/+8 | |
| | | | ||||||
| * | | use Source for module, part 1 | Aleksey Kladov | 2019-06-11 | 7 | -27/+23 | |
| | | | ||||||
| * | | use Source for StructField | Aleksey Kladov | 2019-06-11 | 5 | -10/+17 | |
| | | | ||||||
| * | | use Source for MacroDef | Aleksey Kladov | 2019-06-11 | 4 | -13/+18 | |
| | | | ||||||
| * | | use Source for impl block | Aleksey Kladov | 2019-06-11 | 5 | -17/+20 | |
| | | | ||||||
| * | | use Source for Trait | Aleksey Kladov | 2019-06-11 | 7 | -39/+28 | |
| | | | ||||||
| * | | simplify | Aleksey Kladov | 2019-06-11 | 1 | -5/+5 | |
| | | | ||||||
| * | | use Source for TypeAlias | Aleksey Kladov | 2019-06-11 | 7 | -38/+22 | |
| | | | ||||||
| * | | reduce duplication in hover | Aleksey Kladov | 2019-06-11 | 1 | -56/+24 | |
| | | | ||||||
| * | | use Source for statics and consts | Aleksey Kladov | 2019-06-11 | 6 | -56/+41 | |
| | | | ||||||
| * | | use Source for Function | Aleksey Kladov | 2019-06-11 | 10 | -28/+30 | |
| | | | ||||||
| * | | Introduce HasSource trait | Aleksey Kladov | 2019-06-11 | 3 | -29/+45 | |
| | | | ||||||
| * | | use Source more | Aleksey Kladov | 2019-06-11 | 7 | -64/+39 | |
| | | | ||||||
| * | | introduce Source struct | Aleksey Kladov | 2019-06-11 | 6 | -26/+36 | |
|/ / | ||||||
* | | Merge #1392 | bors[bot] | 2019-06-11 | 1 | -5/+5 | |
|\ \ | |/ |/| | | | | | | | | | | | 1392: fixed links r=matklad a=zbelial This PR fixed some links in architecture.md. Co-authored-by: zjy <[email protected]> | |||||
| * | fixed links | zjy | 2019-06-11 | 1 | -5/+5 | |
|/ | ||||||
* | Merge #1391 | bors[bot] | 2019-06-10 | 8 | -27/+25 | |
|\ | | | | | | | | | | | | | | | 1391: rename tools -> ra_tools r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | rename tools -> ra_tools | Aleksey Kladov | 2019-06-10 | 8 | -27/+25 | |
| | | | | | | | | | | This should help with caching on CI I hope (see .travis.yml before_cache) | |||||
* | | Merge #1390 | bors[bot] | 2019-06-10 | 7 | -68/+73 | |
|\ \ | |/ |/| | | | | | | | | | | | 1390: use single version of either in hir r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | use single version of either in hir | Aleksey Kladov | 2019-06-10 | 7 | -68/+73 | |
|/ | ||||||
* | Merge #1389 | bors[bot] | 2019-06-10 | 3 | -30/+165 | |
|\ | | | | | | | | | | | | | | | 1389: Refactor hover to not depend on nav target r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | Simpliy hover on ast::name | Edwin Cheng | 2019-06-10 | 2 | -17/+35 | |
| | | ||||||
| * | Use classify_name_ref in hover | Edwin Cheng | 2019-06-10 | 3 | -14/+131 | |
|/ | ||||||
* | Merge #1388 | bors[bot] | 2019-06-09 | 6 | -121/+323 | |
|\ | | | | | | | | | | | | | | | | | | | 1388: Remove NavigationTarget::node and fill docs and description in during construction r=matklad a=edwin0cheng Related dissused: https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/MBE.20discussion/near/167105559 Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | Remove incorrect FIXME | Edwin Cheng | 2019-06-09 | 1 | -2/+0 | |
| | | ||||||
| * | Formating | Edwin Cheng | 2019-06-09 | 1 | -2/+1 | |
| | | ||||||
| * | Use &str instread of Option<String> | Edwin Cheng | 2019-06-09 | 2 | -5/+5 | |
| | | ||||||
| * | Rename "string" to "buf" | Edwin Cheng | 2019-06-09 | 1 | -8/+8 | |
| | | ||||||
| * | Rename Description to ShortLabel | Edwin Cheng | 2019-06-09 | 5 | -133/+133 | |
| | | ||||||
| * | Make description_from_symbol depends on symbol | Edwin Cheng | 2019-06-09 | 1 | -5/+5 | |
| | | ||||||
| * | Rename description funcs | Edwin Cheng | 2019-06-09 | 1 | -11/+11 | |
| | | ||||||
| * | Change docs and description to getter method | Edwin Cheng | 2019-06-09 | 2 | -4/+11 | |
| | | ||||||
| * | Add display::Description | Edwin Cheng | 2019-06-09 | 4 | -67/+163 | |
| | | ||||||
| * | Construct doc individually | Edwin Cheng | 2019-06-08 | 2 | -45/+141 | |
| | | ||||||
| * | Remove node function in NavTarget | Edwin Cheng | 2019-06-08 | 5 | -80/+86 | |
| | |