Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 1 | -6/+2 |
| | | | | This allows us to get rid of trait item index | ||||
* | Rename with_ast -> with_value | Aleksey Kladov | 2019-11-20 | 1 | -2/+2 |
| | |||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 1 | -6/+6 |
| | |||||
* | Fix test | kjeremy | 2019-11-18 | 1 | -10/+6 |
| | |||||
* | Support hover through macro | kjeremy | 2019-11-18 | 1 | -42/+66 |
| | |||||
* | Use Source<&ast::Name> in classify_name | kjeremy | 2019-11-18 | 1 | -1/+3 |
| | |||||
* | Sourcify classify_name_ref | Aleksey Kladov | 2019-11-16 | 1 | -2/+3 |
| | |||||
* | Force passing Source when creating a SourceAnalyzer | Aleksey Kladov | 2019-11-15 | 1 | -1/+2 |
| | |||||
* | Cleanup hover | Jeremy Kolb | 2019-11-15 | 1 | -111/+93 |
| | | | | Take advantage of classify_name | ||||
* | Add hir::Local | Aleksey Kladov | 2019-11-11 | 1 | -1/+1 |
| | |||||
* | impl fmt::Display for BuiltinType | Aleksey Kladov | 2019-11-11 | 1 | -6/+2 |
| | |||||
* | Hover for builtins | Jeremy Kolb | 2019-11-10 | 1 | -19/+31 |
| | |||||
* | use Lazy, some fixes | Ekaterina Babshukova | 2019-10-22 | 1 | -2/+1 |
| | |||||
* | replace trait by a bunch of functions | Ekaterina Babshukova | 2019-10-22 | 1 | -1/+1 |
| | |||||
* | restructure a bit | Ekaterina Babshukova | 2019-10-22 | 1 | -5/+3 |
| | |||||
* | return Declaration from classify_name_ref | Ekaterina Babshukova | 2019-10-22 | 1 | -2/+3 |
| | |||||
* | refactor name_ref_kind.rs | Ekaterina Babshukova | 2019-10-22 | 1 | -2/+1 |
| | |||||
* | initial classify_name | Ekaterina Babshukova | 2019-10-22 | 1 | -1/+1 |
| | |||||
* | replace AST visitors with macro | Ekaterina Babshukova | 2019-10-05 | 1 | -36/+41 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | Refactor a bit to prepare for resolving trait assoc items | Florian Diebold | 2019-09-17 | 1 | -3/+3 |
| | |||||
* | rename AdtDef -> Adt | Aleksey Kladov | 2019-09-12 | 1 | -11/+7 |
| | |||||
* | make various enums "inherit" from AdtDef | Aleksey Kladov | 2019-09-12 | 1 | -4/+8 |
| | |||||
* | Show macro definition in hover text | uHOOCCOOHu | 2019-09-10 | 1 | -3/+21 |
| | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 1 | -1/+1 |
| | |||||
* | rename range -> text_range | Aleksey Kladov | 2019-07-20 | 1 | -5/+5 |
| | |||||
* | migrate ra_ide_api to the new rowan | Aleksey Kladov | 2019-07-19 | 1 | -26/+25 |
| | |||||
* | make Parse fields private | Aleksey Kladov | 2019-07-12 | 1 | -3/+4 |
| | | | | this is in preparation for the new rowan API | ||||
* | Fix clippy::redundant_clone | Shotaro Yamada | 2019-07-05 | 1 | -1/+1 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -7/+15 |
| | | | | | | 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 | ||||
* | 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 |
| | | |||||
* | | remove inherent source impls | Aleksey Kladov | 2019-06-11 | 1 | -2/+2 |
| | | |||||
* | | use Source for module, part 1 | Aleksey Kladov | 2019-06-11 | 1 | -2/+1 |
| | | |||||
* | | use Source for StructField | Aleksey Kladov | 2019-06-11 | 1 | -2/+2 |
| | | |||||
* | | use Source for MacroDef | Aleksey Kladov | 2019-06-11 | 1 | -2/+2 |
| | | |||||
* | | use Source for Trait | Aleksey Kladov | 2019-06-11 | 1 | -8/+2 |
| | | |||||
* | | simplify | Aleksey Kladov | 2019-06-11 | 1 | -5/+5 |
| | | |||||
* | | use Source for TypeAlias | Aleksey Kladov | 2019-06-11 | 1 | -12/+6 |
| | | |||||
* | | reduce duplication in hover | Aleksey Kladov | 2019-06-11 | 1 | -56/+24 |
| | | |||||
* | | use Source for statics and consts | Aleksey Kladov | 2019-06-11 | 1 | -6/+6 |
| | | |||||
* | | use Source for Function | Aleksey Kladov | 2019-06-11 | 1 | -6/+6 |
| | | |||||
* | | use Source more | Aleksey Kladov | 2019-06-11 | 1 | -6/+9 |
| | | |||||
* | | introduce Source struct | Aleksey Kladov | 2019-06-11 | 1 | -4/+7 |
|/ | |||||
* | Simpliy hover on ast::name | Edwin Cheng | 2019-06-10 | 1 | -7/+35 |
| | |||||
* | Use classify_name_ref in hover | Edwin Cheng | 2019-06-10 | 1 | -12/+128 |
| | |||||
* | Remove node function in NavTarget | Edwin Cheng | 2019-06-08 | 1 | -3/+3 |
| | |||||
* | Fix clippy::new_without_default | Alan Du | 2019-06-04 | 1 | -0/+6 |
| | |||||
* | Sort hover results in tests | Laurențiu Nicola | 2019-05-30 | 1 | -2/+8 |
| | |||||
* | fix typos in mbe tests | Aleksey Kladov | 2019-05-28 | 1 | -2/+2 |
| |