Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Better handling of block doc comments | Lukas Wirth | 2021-03-17 | 1 | -5/+3 |
| | |||||
* | don't clone types that are copy (clippy::clone_on_copy) | Matthias Krüger | 2021-03-17 | 1 | -1/+1 |
| | |||||
* | Upgrade rowan | Aleksey Kladov | 2021-03-16 | 1 | -2/+2 |
| | | | | Notably, new rowan comes with support for mutable syntax trees. | ||||
* | Goto definition works for `S { a: }` case | Aleksey Kladov | 2021-03-15 | 1 | -0/+11 |
| | | | | | | | | | | | | | What happens here is that we lower `: ` to a missing expression, and then correctly record that the corresponding field expression resolves to a specific field. Where we fail is in the mapping of syntax to this missing expression. Doing it via `ast_field.expr()` fails, as that expression is `None`. Instead, we go in the opposite direcition and ask each lowered field about its source. This works, but has wrong complexity `O(N)` and, really, the implementation is just too complex. We need some better management of data here. | ||||
* | Fix a few clippy::perf warnings | kjeremy | 2021-02-16 | 1 | -1/+1 |
| | |||||
* | More precise navigation to parent | Aleksey Kladov | 2021-02-09 | 1 | -1/+0 |
| | |||||
* | Cleanup tests | Aleksey Kladov | 2021-02-09 | 1 | -11/+1 |
| | |||||
* | Cleanup tests | Aleksey Kladov | 2021-01-22 | 1 | -12/+12 |
| | |||||
* | Remove index based fallback for goto def | Aleksey Kladov | 2021-01-22 | 1 | -48/+18 |
| | | | | | We are so precise that the fallback creates more confusion, when you can goto def on an unresolved reference. | ||||
* | Wrap remaining self/super/crate in Name{Ref} | Lukas Wirth | 2021-01-15 | 1 | -5/+0 |
| | |||||
* | Handle self/super/crate in PathSegment as NameRef | Lukas Wirth | 2021-01-15 | 1 | -29/+6 |
| | |||||
* | Goto for inner doc links works for module inner doc comments | Aleksey Kladov | 2021-01-11 | 1 | -26/+31 |
| | |||||
* | Use hir::GenericParam in ide_db::Definition instead of relisting all 3 | Lukas Wirth | 2021-01-10 | 1 | -3/+1 |
| | |||||
* | Support intra_doc links | Daiki Ihara | 2021-01-08 | 1 | -4/+86 |
| | |||||
* | Change <|> to $0 - Rebase | Kevaundray Wedderburn | 2021-01-07 | 1 | -72/+72 |
| | |||||
* | Merge #7030 | bors[bot] | 2020-12-24 | 1 | -0/+15 |
|\ | | | | | | | | | | | | | | | | | | | 7030: Support labels in reference search r=matklad a=Veykril Implements general navigation for labels, goto def, rename and gives labels their own semantic highlighting class. Fixes #6966 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Support labels in reference search | Lukas Wirth | 2020-12-24 | 1 | -0/+15 |
| | | |||||
* | | Store invocation site for eager macros | Jonas Schievink | 2020-12-22 | 1 | -0/+25 |
|/ | |||||
* | Merge #6921 | bors[bot] | 2020-12-20 | 1 | -0/+28 |
|\ | | | | | | | | | | | | | | | 6921: Higher-ranked trait bounds for where clauses r=flodiebold a=Veykril There is a slight problem with this which is also noted in a FIXME now but `LifetimeParameters` of these ForLifetime where clauses allocate the lifetimes in the corresponding arena as if they were lifetimes of the item itself and not just the clause they belong to. I wasn't entirely sure what I could do about this but given nothing really uses lifetimes like that currently I figured it might be fine? Open to suggestions for that problem. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Higher-ranked trait bounds for where clauses | Lukas Wirth | 2020-12-17 | 1 | -0/+28 |
| | | |||||
* | | NavTarget doesn't assume that it points to a symbol | Aleksey Kladov | 2020-12-18 | 1 | -1/+1 |
| | | |||||
* | | Don't expose SyntaxKind from IDE API | Aleksey Kladov | 2020-12-18 | 1 | -2/+2 |
|/ | | | | | | SyntaxKind is somewhat of an internal type, but IDE is using it to basically specify an icon. Let's have a dedicated entity for this instead. | ||||
* | Lifetime reference search | Lukas Wirth | 2020-12-16 | 1 | -8/+49 |
| | |||||
* | Support 'go to definition' for self | Lukas Wirth | 2020-11-29 | 1 | -17/+39 |
| | |||||
* | Support goto definition for ADT-SelfParams | Lukas Wirth | 2020-11-28 | 1 | -6/+36 |
| | |||||
* | Re-export base_db from ide_db | Igor Aleksanov | 2020-10-24 | 1 | -1/+1 |
| | |||||
* | Clarify the names one more time | Aleksey Kladov | 2020-10-15 | 1 | -2/+2 |
| | |||||
* | More idiomatic classification API | Aleksey Kladov | 2020-10-15 | 1 | -3/+3 |
| | |||||
* | More clarifications | Aleksey Kladov | 2020-10-15 | 1 | -1/+1 |
| | |||||
* | Clarify NameClass names a bit | Aleksey Kladov | 2020-10-15 | 1 | -1/+1 |
| | |||||
* | rename mock_analysis -> fixture | Aleksey Kladov | 2020-10-02 | 1 | -2/+2 |
| | |||||
* | Get rid of MockAnalysis | Aleksey Kladov | 2020-10-02 | 1 | -13/+11 |
| | |||||
* | Rename ra_ide -> ide | Aleksey Kladov | 2020-08-13 | 1 | -0/+989 |