Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support goto-definition for include macro paths | Lukas Wirth | 2021-06-05 | 1 | -3/+49 |
| | |||||
* | internal: don't use `#[should_panic]` for tests | Aleksey Kladov | 2021-04-13 | 1 | -8/+10 |
| | |||||
* | Support macros in pattern position | Jonas Schievink | 2021-04-11 | 1 | -0/+26 |
| | |||||
* | Merge #8245 | bors[bot] | 2021-04-05 | 1 | -5/+33 |
|\ | | | | | | | | | | | | | | | | | | | 8245: Properly resolve intra doc links in hover and goto_definition r=matklad a=Veykril Unfortunately involves a bit of weird workarounds due to pulldown_cmark's incorrect lifetimes on `BrokenLinkCallback`... I should probably open an issue there asking for the fixes to be pushed to a release since they already exist in the repo for quite some time it seems. Fixes #8258, Fixes #8238 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Use new new docs string source mapping in goto_def and hover | Lukas Wirth | 2021-03-30 | 1 | -7/+12 |
| | | |||||
| * | Implement basic Documentation source to syntax range mapping | Lukas Wirth | 2021-03-30 | 1 | -0/+1 |
| | | |||||
| * | Properly resolve intra doc links in hover and goto_definition | Lukas Wirth | 2021-03-30 | 1 | -1/+23 |
| | | |||||
* | | Merge #8267 | bors[bot] | 2021-03-31 | 1 | -0/+2 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8267: Adding gifs and screenshots for features in manual r=matklad a=MozarellaMan For #6539 This includes most of gif or screenshot examples of most items in the "Features" header. With the exceptions of: - **On Typing Assists** - couldn't get it to work for a demo, I'm probably missing something? - **Structural search and replace** - looked to be already a visual example of the feature - **Workspace symbol** - wasn't sure how best to show this, all of the examples maybe? Also wasn't sure of the best code example to show it off - **Semantic Syntax Highlighting** - seemed obvious enough to not need a screenshot, but I could easily add this All the gifs/pngs are hosted in this [comment](https://github.com/rust-analyzer/rust-analyzer/issues/6539#issuecomment-809574840). Please let me know if any of them aren't suitable (and why) and I'll improve it! Or if you don't like the theme/font Co-authored-by: Ayomide Bamidele <[email protected]> | ||||
| * | Gifs and screenshots for features in manual | Ayomide Bamidele | 2021-03-31 | 1 | -0/+2 |
| | | |||||
* | | Accurately classify assoc. types in paths | Jonas Schievink | 2021-03-30 | 1 | -0/+15 |
|/ | |||||
* | Show item info when hovering intra doc links | Lukas Wirth | 2021-03-23 | 1 | -58/+8 |
| | |||||
* | Add test for goto def on proc macro invocation | Jonas Schievink | 2021-03-18 | 1 | -0/+17 |
| | |||||
* | Check whether cursor is on and not between intra doc links in goto_definition | Lukas Wirth | 2021-03-17 | 1 | -8/+14 |
| | |||||
* | 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 |