Lukas Wirth
|
ba3e3282da
|
Deduplicate inserted parentheses in binding mode hints
|
2022-12-16 21:17:10 +01:00 |
|
Lukas Wirth
|
b6c2bb21ab
|
Add parentheses for binding mode hints when they attach to an Or-pattern
|
2022-12-16 20:52:31 +01:00 |
|
Maybe Waffle
|
7c9a85bc43
|
fix: Don't show duplicated adjustment hints for blocks, ifs and matches
|
2022-12-09 18:45:01 +00:00 |
|
bors
|
0aa0da9dda
|
Auto merge of #13572 - Veykril:cancellable, r=Veykril
internal: Use Cancellable in favor of Result for clarity
|
2022-11-07 16:22:33 +00:00 |
|
Lukas Wirth
|
fa70b0a86e
|
internal: Use Cancellable in favor of Result for clarity
|
2022-11-07 17:21:37 +01:00 |
|
Lukas Wirth
|
ee2dd934ca
|
Don't trigger adjustment hints in all inlay hint tests
|
2022-11-07 12:49:52 +01:00 |
|
Lukas Wirth
|
d841ad116a
|
Fix up adjustment hints configurations
|
2022-11-04 22:59:07 +01:00 |
|
Lukas Wirth
|
95d20fccd7
|
Add adjustment hint tests
|
2022-11-04 22:40:06 +01:00 |
|
Lukas Wirth
|
c98fc537e6
|
Generalize reborrow hints as adjustment hints
|
2022-11-04 21:53:23 +01:00 |
|
Ryo Yoshida
|
6d8903ae5f
|
fix: infer for-loop item type with IntoIterator and Iterator
|
2022-09-29 19:48:08 +09:00 |
|
DidiBear
|
cdc362e6cc
|
docs(inlay-hints): remove reference to Toggle inlay hints
|
2022-09-19 12:00:58 -04:00 |
|
Ryo Yoshida
|
efb56160c9
|
fix: handle lifetime variables in projection normalization
|
2022-09-12 22:52:58 +09:00 |
|
Jonas Schievink
|
064c9ef9e2
|
Make clicking closing brace hint go to the opening brace
|
2022-09-08 17:25:28 +02:00 |
|
Jonas Schievink
|
241807dbf9
|
Allow multi-part inlay hint labels with location links
|
2022-08-31 18:34:10 +02:00 |
|
Ryo Yoshida
|
7ecead23c8
|
fix: sort and deduplicate auto traits in trait object types
|
2022-08-30 20:52:42 +09:00 |
|
Jonas Schievink
|
bd7dfac5eb
|
Fix r-a spelling in some places
|
2022-08-01 13:47:09 +02:00 |
|
Amos Wenger
|
816f7fe12a
|
Run cargo fix --edition-idioms
|
2022-07-20 15:02:08 +02:00 |
|
Luke Chu
|
6079eeb1bf
|
Hide param inlay hint when argument is fn-like macro with similar name
|
2022-06-08 14:37:57 +00:00 |
|
Lukas Wirth
|
aced76d0ff
|
Add implicit static lifetime hints
|
2022-05-30 13:59:58 +02:00 |
|
harpsword
|
55509548e8
|
fix: add an option to show inlay hint for return type of closures without block
|
2022-05-28 22:12:30 +08:00 |
|
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 |
|
Lukas Wirth
|
9ebb55d354
|
Hide more unnecessary parameter hints for constructors
|
2022-05-19 15:44:52 +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 |
|
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
|
12d5343993
|
internal: Cleanup lifetime elision hints
|
2022-05-17 12:18:07 +02:00 |
|
Jonas Schievink
|
fccc12982e
|
Add closing brace hints for macros
|
2022-05-16 15:23:25 +02:00 |
|
Jonas Schievink
|
867a7dc7a0
|
Show inlay hints after a } to indicate the closed item
|
2022-05-16 14:55:47 +02: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
|
c2190ad87c
|
feat: Allow reborrow inlay hints to be restricted to mutable reborrows only
|
2022-05-12 14:00:06 +02:00 |
|
Lukas Wirth
|
822d9b55b7
|
fix: Add cast expressions to param name inlay hint heuristics
|
2022-05-10 13:43:43 +02:00 |
|
Lukas Wirth
|
5e413997a1
|
minor: Add test for parameter and reborrow hint order
|
2022-04-26 11:46:03 +02:00 |
|
Lukas Wirth
|
4255996965
|
Re-export FxHashMap and FxHashSet from ide_db
|
2022-04-25 18:51:59 +02:00 |
|
Lukas Wirth
|
75689f2ad8
|
internal: Enforce Resolver to always have a module scope
|
2022-03-31 11:12:08 +02:00 |
|
Lukas Wirth
|
5a87f09a71
|
Update inlay hint feature docs
|
2022-03-20 14:41:27 +01:00 |
|
Lukas Wirth
|
37b48ceb8f
|
feat: Visualize compiler inserted reborrows via inlay hints
|
2022-03-20 14:38:16 +01:00 |
|
Lukas Wirth
|
2598575a35
|
fix: Fix closure hints using macro ranges
|
2022-03-19 20:24:09 +01:00 |
|
Lukas Wirth
|
7da5b80f25
|
Change skip trivial behaviour
|
2022-03-19 20:12:14 +01:00 |
|
Lukas Wirth
|
7ab0aaa82a
|
Add option to skip trivial cases
|
2022-03-19 19:01:19 +01:00 |
|
Lukas Wirth
|
45756c823f
|
Use numbers for lifetimes by default, add setting to prefer using parameter names
|
2022-03-19 18:11:56 +01:00 |
|
Lukas Wirth
|
c22fed895e
|
Fix test fixtures
|
2022-03-18 18:57:15 +01:00 |
|
Lukas Wirth
|
b634d99361
|
Give the lifetimes better names
|
2022-03-18 18:55:03 +01:00 |
|
Lukas Wirth
|
673e2b1d8f
|
feat: Implement lifetime elision hints
|
2022-03-18 18:11:16 +01:00 |
|