andylizi
|
2b1c1a934c
|
feat: hide type inlay hints for initializations of closures
|
2022-05-20 17:42:56 +08:00 |
|
NotWearingPants
|
641b78a162
|
hide closure ret hints if ret type is specified
fixes #12319
|
2022-05-20 02:35:37 +03:00 |
|
Jonas Schievink
|
52ff863abc
|
Teach Callable about closures properly
|
2022-05-19 18:53:08 +02:00 |
|
bors
|
eba26af9f1
|
Auto merge of #12314 - jonas-schievink:proc-macro-load, r=jonas-schievink
minor: simplify
|
2022-05-19 14:50:08 +00:00 |
|
bors
|
46b5483055
|
Auto merge of #12313 - equinox:typo-fix, r=lnicola
Removed duplicate 'to' in `cachePriming.numThreads` option description
One 'to' too many!
|
2022-05-19 14:22:09 +00:00 |
|
Equinox
|
7197042ac4
|
remove duplicate 'to' in cachePriming.numThreads option description
|
2022-05-20 02:05:48 +12:00 |
|
bors
|
57861bd99e
|
Auto merge of #12311 - Veykril:inlay-hints-tips, r=Veykril
internal: Improve inlay hint tooltips
|
2022-05-19 13:45:05 +00:00 |
|
Lukas Wirth
|
9ebb55d354
|
Hide more unnecessary parameter hints for constructors
|
2022-05-19 15:44:52 +02:00 |
|
Jonas Schievink
|
b2779111b4
|
simplify
|
2022-05-19 15:29:35 +02:00 |
|
Lukas Wirth
|
5fe28441b8
|
Update test fixtures
|
2022-05-19 15:20:45 +02:00 |
|
Lukas Wirth
|
b08bbd7be0
|
Enable hovering function parameter inlay hints
|
2022-05-19 14:32:40 +02:00 |
|
Lukas Wirth
|
74230e26ff
|
internal: Improve inlay hint tooltips
|
2022-05-19 13:38:37 +02:00 |
|
bors
|
4f7d1a9d69
|
Auto merge of #12309 - Veykril:completion, r=Veykril
fix: Fix incorrect expected type in completions for trailing match arms
Fixes https://github.com/rust-lang/rust-analyzer/issues/12264
|
2022-05-19 10:34:36 +00:00 |
|
Lukas Wirth
|
018975b041
|
fix: Fix incorrect expected type in completions for match arms
|
2022-05-19 12:33:25 +02:00 |
|
Jonas Schievink
|
5279cdbefb
|
Include self type in generated getter/setter docs
|
2022-05-18 19:22:04 +02:00 |
|
Jonas Schievink
|
93b62dbe85
|
Improve docs generation assist
|
2022-05-18 18:05:21 +02:00 |
|
bors
|
187bd7d48a
|
Auto merge of #12130 - weirane:let-else-let-match, r=weirane
Turn let-else statements into let and match
Fixes #11906.
|
2022-05-17 19:01:18 +00:00 |
|
weirane
|
4a0821f332
|
Simplify const reference check
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
|
2022-05-17 11:43:53 -07:00 |
|
Jonas Schievink
|
cb135ae71b
|
Add a "Add attribute" assist
|
2022-05-17 20:28:25 +02:00 |
|
Lukas Wirth
|
58a241134c
|
Update test output
|
2022-05-17 14:58:26 +02:00 |
|
Lukas Wirth
|
21f37a6d9e
|
Allow inlay hint tooltips to trigger hovers
|
2022-05-17 14:46:43 +02:00 |
|
Lukas Wirth
|
a2ec010185
|
Trigger hover requests on closing brace hints
|
2022-05-17 13:39:45 +02:00 |
|
Lukas Wirth
|
0756719a30
|
Replace some SmolStr usages with String as the conversion happens anyways
|
2022-05-17 12:56:14 +02:00 |
|
Lukas Wirth
|
91833f1974
|
feat: Implement inlay hint tooltips
|
2022-05-17 12:49:51 +02:00 |
|
Lukas Wirth
|
12d5343993
|
internal: Cleanup lifetime elision hints
|
2022-05-17 12:18:07 +02:00 |
|
Jonas Schievink
|
1df6560fd8
|
Improve "Generate Deref impl" assist
|
2022-05-16 20:10:46 +02:00 |
|
Jonas Schievink
|
54c8c39da0
|
Don't generate documentation in generate_setter
|
2022-05-16 19:27:27 +02:00 |
|
Jonas Schievink
|
f1b6e45fba
|
Handle getters and setters in documentation template assist
|
2022-05-16 19:10:38 +02:00 |
|
bors
|
825ce48180
|
Auto merge of #12271 - bitgaoshu:box_with_expec, r=flodiebold
fix #12227 Type mismatch error shown
add box expectation hint
|
2022-05-16 15:00:36 +00:00 |
|
Jonas Schievink
|
5ee028bbb8
|
Fix signature help LSP offset conversion
|
2022-05-16 15:48:38 +02:00 |
|
Jonas Schievink
|
fccc12982e
|
Add closing brace hints for macros
|
2022-05-16 15:23:25 +02:00 |
|
bitgaoshu
|
e362929fa1
|
add box expection hint
|
2022-05-16 21:17:00 +08:00 |
|
Jonas Schievink
|
867a7dc7a0
|
Show inlay hints after a } to indicate the closed item
|
2022-05-16 14:55:47 +02:00 |
|
Aleksey Kladov
|
2f3453994a
|
minor: rename
|
2022-05-16 12:42:48 +01:00 |
|
bors
|
1dc25e51a0
|
Auto merge of #12253 - Veykril:bm, r=Veykril
feat: Add binding mode inlay hints
![image](https://user-images.githubusercontent.com/3757771/168427387-2f299438-a0cc-496b-a9a5-d689ef6a2b55.png)
|
2022-05-16 11:16:22 +00:00 |
|
bors
|
5ae9847dea
|
Auto merge of #12262 - jhgg:fix-whitespace-between-mut-self-in-macro-expansion, r=lnicola
ide: insert whitespace between 'mut' and 'self' in macro expansion
fixes #12260
|
2022-05-15 12:47:38 +00:00 |
|
bors
|
fa133d065b
|
Auto merge of #12190 - harpsword:fix_diagostics_map_incorrectly, r=harpsword
fix cargo check diagnostics are mapped incorrectly with non-BMP codepoints
fix #11945
|
2022-05-15 09:48:51 +00:00 |
|
Jake Heinz
|
4efc2a9df2
|
ide: insert whitespace between 'mut' and 'self' in macro expansion
|
2022-05-15 07:55:13 +00:00 |
|
bors
|
1ff5b2cab4
|
Auto merge of #12251 - matklad:lsp-server, r=matklad
internal: vendor lsp-server
|
2022-05-14 20:20:01 +00:00 |
|
Aleksey Kladov
|
57cb65bb7a
|
internal: vendor lsp-server
|
2022-05-14 21:15:43 +01:00 |
|
Lukas Wirth
|
7cbde1b3a5
|
Enable reborrow hints in attribute calls
|
2022-05-14 15:00:14 +02:00 |
|
Lukas Wirth
|
6b696fced8
|
feat: Add binding mode inlay hints
|
2022-05-14 14:58:35 +02:00 |
|
Lukas Wirth
|
622defb373
|
internal: Make VSCode config more GUI edit friendly
|
2022-05-14 13:53:41 +02:00 |
|
harpsword
|
7bd4c11e13
|
fix diagnostics location map incorrectly from rustc span to lsp position for non-BMP char
|
2022-05-14 19:19:55 +08:00 |
|
Lukas Wirth
|
8ac429dad9
|
fix: Fix incorrect hover actions config keys
|
2022-05-13 21:17:03 +02:00 |
|
Lukas Wirth
|
3577c44dee
|
fix: Fix fill-arguments completions not working
|
2022-05-13 19:52:44 +02:00 |
|
Jonas Schievink
|
0831f3123b
|
Fix tests
|
2022-05-13 15:54:46 +02:00 |
|
Jonas Schievink
|
9bd11459ba
|
Revert "Auto merge of #12149 - jonas-schievink:literally-just-a-literal, r=jonas-schievink"
This reverts commit cc9ae2b89e , reversing
changes made to 7dfd1cb572 .
|
2022-05-13 15:08:14 +02:00 |
|
Jonas Schievink
|
2287ae22c6
|
Revert "Skip only the tt::Literal when consuming float tokens"
This reverts commit 7db55313a1 .
|
2022-05-13 15:06:16 +02:00 |
|
Jonas Schievink
|
bde036b74e
|
Revert "Fix conversion of float literals in TtTreeSink "
This reverts commit 43a066c5a8 .
|
2022-05-13 15:05:34 +02:00 |
|