rust-analyzer/crates
bors[bot] 40159150aa
Merge #10951
10951: feat: assist to generate documentation templates r=Veykril a=numero-744

Closes #10878, #1915 and #4767

Full description is in #10878, better read [the tests](https://github.com/rust-analyzer/rust-analyzer/pull/10951/files#diff-7a64e2efb66b2625443340fcbc96d531baff12c17cc0aaf51885ea94f67de254R424) to understand what this feature does.

- [x] There is one remaining thing about non-`pub` functions, what do you think about it?
- [x] In this PR [empty examples are generated](https://github.com/rust-analyzer/rust-analyzer/pull/10951/files#diff-7a64e2efb66b2625443340fcbc96d531baff12c17cc0aaf51885ea94f67de254R99) for `trait` functions, but maybe no examples should be provided at all.
- [x] If there is already a documentation, add another one with a separator ([currently done](https://github.com/rust-analyzer/rust-analyzer/pull/10951/files#diff-7a64e2efb66b2625443340fcbc96d531baff12c17cc0aaf51885ea94f67de254R74)) or simply disable this assist?
- [x] I will check once more that the generated examples are correct (ie. they are easy to fill before that they are built and tested)

Comments appreciated 😄 

Co-authored-by: Côme ALLART <come.allart@etu.emse.fr>
2021-12-11 22:58:49 +00:00
..
base_db Merge #10872 2021-11-30 14:07:39 +00:00
cfg Replace some String usages with SmolStr in completions 2021-11-05 12:30:39 +01:00
flycheck Don't discard flycheck error messages 2021-11-27 18:57:51 +01:00
hir Remove some allocations 2021-12-10 20:01:24 +01:00
hir_def Merge #10977 2021-12-10 14:19:51 +00:00
hir_expand Merge #10877 2021-12-11 14:49:29 +00:00
hir_ty Merge #10987 2021-12-11 17:20:14 +00:00
ide Merge #10965 2021-12-11 15:06:52 +00:00
ide_assists Merge #10951 2021-12-11 22:58:49 +00:00
ide_completion Fix expected type calculation in struct literal if followed by comma 2021-12-11 18:47:45 +01:00
ide_db Merge #10956 #10986 2021-12-11 14:58:07 +00:00
ide_diagnostics fix: lookup upwards for struct and enum 2021-12-12 01:23:27 +09:00
ide_ssr Merge #10698 2021-11-07 11:02:39 +00:00
limit Drop resolver and authors manifest entries 2021-10-25 18:12:40 +03:00
mbe Clean up some unused cross-crate dependencies 2021-12-05 13:54:49 +02:00
parser Bump parser step limit a little 2021-12-06 11:47:36 +02:00
paths Set MSRV 2021-10-23 15:07:11 +03:00
proc_macro_api Bump object avoid a duplicate dependency 2021-10-30 09:02:45 +03:00
proc_macro_srv Fix proc macro ABI version checks 2021-11-18 10:24:24 +02:00
proc_macro_test Set MSRV 2021-10-23 15:07:11 +03:00
profile Bump countme 2021-12-04 15:14:31 +02:00
project_model Fix library target overriding sysroot deps 2021-12-08 17:05:00 +01:00
rust-analyzer internal: add "Shuffle Crate Graph" command 2021-12-07 16:37:19 +01:00
sourcegen Set MSRV 2021-10-23 15:07:11 +03:00
stdx Remove some allocations 2021-12-10 20:01:24 +01:00
syntax Remove possible multiline details in completions 2021-11-24 16:08:11 +01:00
test_utils Set MSRV 2021-10-23 15:07:11 +03:00
text_edit Update crates/text_edit/src/lib.rs 2021-11-03 15:44:46 +01:00
toolchain Set MSRV 2021-10-23 15:07:11 +03:00
tt Set MSRV 2021-10-23 15:07:11 +03:00
vfs minor: Lift out FxIndex{Map/Set} types into ide_db 2021-11-16 12:15:47 +01:00
vfs-notify Set MSRV 2021-10-23 15:07:11 +03:00