Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Factor out `pick_best_token` ide pattern into `ide_db` | Lukas Wirth | 2021-06-22 | 1 | -19/+8 |
| | |||||
* | Collapse documentation and markdown config settings into an enum | Lukas Wirth | 2021-06-21 | 1 | -24/+46 |
| | |||||
* | Split hover actions config into its own config struct | Lukas Wirth | 2021-06-21 | 1 | -56/+55 |
| | |||||
* | Merge #9264 | bors[bot] | 2021-06-21 | 1 | -95/+90 |
|\ | | | | | | | | | | | | | | | | | | | 9264: feat: Make documentation on hover configurable r=Veykril a=Veykril This also implements deprecation support for config options as this renames `hoverActions_linksInHover` to `hover_linksInHover`. Fixes #9232 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | typo | Lukas Wirth | 2021-06-14 | 1 | -1/+1 |
| | | |||||
| * | Don't ignore hover documentation setting for keyword hovers | Lukas Wirth | 2021-06-14 | 1 | -2/+4 |
| | | |||||
| * | Make documentation on hover configurable | Lukas Wirth | 2021-06-14 | 1 | -93/+86 |
| | | |||||
* | | Merge #9328 | bors[bot] | 2021-06-20 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 9328: internal: Update deps r=lnicola a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | | Update test | kjeremy | 2021-06-18 | 1 | -1/+1 |
| | | | |||||
* | | | internal: use minicore deref more | Aleksey Kladov | 2021-06-18 | 1 | -2/+2 |
| | | | |||||
* | | | internal: add Copy to minicore | Aleksey Kladov | 2021-06-18 | 1 | -2/+2 |
|/ / | |||||
* | | internal: retire famous_defs_fixture | Aleksey Kladov | 2021-06-17 | 1 | -10/+15 |
| | | | | | | | | This is now done declaratively via `minicore`. | ||||
* | | internal: add derive and ord support to minicore | Aleksey Kladov | 2021-06-17 | 1 | -2/+2 |
| | | |||||
* | | internal: add From to minicore | Aleksey Kladov | 2021-06-17 | 1 | -2/+2 |
| | | |||||
* | | internal: add default to minicore | Aleksey Kladov | 2021-06-17 | 1 | -2/+2 |
| | | |||||
* | | internal: add fn to minicore | Aleksey Kladov | 2021-06-16 | 1 | -2/+2 |
| | | |||||
* | | internal: switch some tests to minicore | Aleksey Kladov | 2021-06-15 | 1 | -10/+5 |
| | | |||||
* | | internal: document that we don't #[ignore] tests | Aleksey Kladov | 2021-06-15 | 1 | -2/+3 |
|/ | |||||
* | clippy::redundant_closure | Maan2003 | 2021-06-13 | 1 | -1/+1 |
| | |||||
* | clippy::clone_on_copy | Maan2003 | 2021-06-13 | 1 | -1/+1 |
| | |||||
* | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 1 | -4/+4 |
| | |||||
* | Update ungrammar | Jonas Schievink | 2021-06-11 | 1 | -1/+1 |
| | |||||
* | Merge #9138 | bors[bot] | 2021-06-04 | 1 | -12/+133 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 9138: feat: Implement hover for lints r=Veykril a=Veykril fixes https://github.com/rust-analyzer/rust-analyzer/issues/8857, fixes https://github.com/rust-analyzer/rust-analyzer/issues/3941 ![URXBanNxYe](https://user-images.githubusercontent.com/3757771/120830905-4bd8da80-c55f-11eb-9f55-ff5a321726fa.gif) We also generate the default lints(and lint groups 🎉) instead now by invoking `rustc -W help` and parsing the output from that. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Replace `-` with `_` in generated lint names | Lukas Wirth | 2021-06-04 | 1 | -6/+4 |
| | | |||||
| * | Generate default lint completions | Lukas Wirth | 2021-06-04 | 1 | -15/+60 |
| | | |||||
| * | Implement hover for lints | Lukas Wirth | 2021-06-04 | 1 | -6/+84 |
| | | |||||
* | | Add function references hover action | Lukas Wirth | 2021-06-04 | 1 | -1/+28 |
|/ | |||||
* | Correctly resolve crate name in use paths when import shadows itself | Lukas Tobias Wirth | 2021-05-23 | 1 | -0/+20 |
| | |||||
* | Merge #8245 | bors[bot] | 2021-04-05 | 1 | -12/+30 |
|\ | | | | | | | | | | | | | | | | | | | 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/+14 |
| | | |||||
| * | Properly resolve intra doc links in hover and goto_definition | Lukas Wirth | 2021-03-30 | 1 | -8/+19 |
| | | |||||
* | | Only populate prelude for crate-level DefMaps | Jonas Schievink | 2021-04-02 | 1 | -0/+42 |
| | | |||||
* | | Resolve associated types with type anchors | Lukas Wirth | 2021-04-01 | 1 | -1/+22 |
| | | |||||
* | | Resolve associated types | Lukas Wirth | 2021-04-01 | 1 | -0/+42 |
| | | |||||
* | | 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 |
| | | | |||||
* | | | Merge #8186 | bors[bot] | 2021-03-30 | 1 | -3/+3 |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | 8186: Lower traits to `TraitRef` instead of `TypeRef` r=matklad a=Veykril Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Rename target_ty to self_ty | Lukas Wirth | 2021-03-29 | 1 | -3/+3 |
| |/ | |||||
* / | Fix code style | ivan770 | 2021-03-30 | 1 | -0/+1 |
|/ | |||||
* | Add support for doc on hover for macro 2.0 | Edwin Cheng | 2021-03-27 | 1 | -0/+31 |
| | |||||
* | Show item info when hovering intra doc links | Lukas Wirth | 2021-03-23 | 1 | -9/+54 |
| | |||||
* | Store an `AstId` for procedural macros | Jonas Schievink | 2021-03-18 | 1 | -4/+10 |
| | |||||
* | Fix incorrect newline emission in Attrs::docs | Lukas Wirth | 2021-03-17 | 1 | -4/+22 |
| | |||||
* | Better handling of block doc comments | Lukas Wirth | 2021-03-17 | 1 | -0/+34 |
| | |||||
* | Implement HirDisplay for some more types | Lukas Wirth | 2021-03-16 | 1 | -14/+4 |
| | |||||
* | Merge #7498 | bors[bot] | 2021-03-16 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | 7498: Clone for update r=matklad a=matklad rowan counterpart https://github.com/rust-analyzer/rowan/pull/93 #6857 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Upgrade rowan | Aleksey Kladov | 2021-03-16 | 1 | -2/+2 |
| | | | | | | | | Notably, new rowan comes with support for mutable syntax trees. | ||||
* | | Update tests | oxalica | 2021-03-15 | 1 | -28/+57 |
| | | |||||
* | | Use hir formatter more | oxalica | 2021-03-15 | 1 | -42/+17 |
| | | |||||
* | | Impl HirDisplay for function hover message | oxalica | 2021-03-15 | 1 | -1/+9 |
| | |