Lukas Wirth
|
9738f97f8c
|
Fix active parameter analysis once more
|
2023-02-12 17:32:11 +01:00 |
|
Lukas Wirth
|
5fdf640fb3
|
fix: Fix bind pat inlay hints rendering for constant patterns
|
2023-02-11 16:29:54 +01:00 |
|
Lukas Wirth
|
557aa1e378
|
Render discriminant inlay hints for mixed variants if at least one discriminant is specified
|
2023-02-10 09:57:03 +01:00 |
|
Lukas Wirth
|
5e6208b1df
|
fix: Don't insert a semicolon when typing = if parse errors are encountered
|
2023-02-08 12:06:35 +01:00 |
|
bors
|
b7836e44d3
|
Auto merge of #14099 - Veykril:inlay-hint-loc, r=Veykril
Properly use location links for type hints of impl Future and its assoc type
|
2023-02-08 08:43:10 +00:00 |
|
Lukas Wirth
|
2b4a5374ee
|
Properly use location links for type hints of impl Future and its assoc type
|
2023-02-07 22:42:03 +01:00 |
|
Lukas Wirth
|
c6305c5659
|
fix: Don't panic on broken syntax trees in adjustment inlay hints
|
2023-02-06 12:38:57 +01:00 |
|
bors
|
ccd142c616
|
Auto merge of #14058 - gftea:master, r=Veykril
fix negative trait bound in outline view (#14044)
try to fix and close #14044
|
2023-02-01 20:00:19 +00:00 |
|
bors
|
7acc434f46
|
Auto merge of #14071 - Veykril:inlay-hints, r=Veykril
fix: Don't render fieldless discriminant inlay hints for datacarrying enums
|
2023-02-01 10:39:15 +00:00 |
|
Lukas Wirth
|
14f19c73e9
|
fix: Don't render fieldless discriminant inlay hints for datacarrying enums
|
2023-02-01 11:38:39 +01:00 |
|
bors
|
bfe82cda48
|
Auto merge of #14036 - Veykril:write-method-resolution, r=Veykril
Record method resolution for remaining operator expressions
This allows goto def and future substituted hover to work for the concrete impls.
|
2023-02-01 10:23:33 +00:00 |
|
gftea
|
fd1a9a93fe
|
tidy by rustfmt
|
2023-01-30 20:34:07 +01:00 |
|
gftea
|
04a4ac1cff
|
trim trailing whitespaces
|
2023-01-30 20:17:12 +01:00 |
|
gftea
|
5356a8b157
|
trim trailing whitespaces (#14044)
|
2023-01-30 20:03:50 +01:00 |
|
gftea
|
75676ebe86
|
Update crates/ide/src/file_structure.rs
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
|
2023-01-30 19:17:48 +01:00 |
|
gftea
|
28b7460db1
|
fix negative trait bound in outline view (#14044)
|
2023-01-30 17:57:27 +01:00 |
|
Jonas Schievink
|
cad4cb38cd
|
Make it work with Self { .. }
|
2023-01-27 19:25:31 +01:00 |
|
Jonas Schievink
|
e993072661
|
Provide signature help when typing record literal
|
2023-01-27 19:17:23 +01:00 |
|
Lukas Wirth
|
4ff6f3845f
|
Update ide test outputs
|
2023-01-27 11:40:44 +01:00 |
|
bors
|
46084a1e71
|
Auto merge of #14015 - vasilev-alex:lifetime-rename, r=Veykril
Don't include lifetime or label apostrophe when renaming
Closes #13907
|
2023-01-25 13:57:29 +00:00 |
|
Lukas Wirth
|
951ee3d0b5
|
fix: Fix assoc item search finding unrelated definitions
|
2023-01-24 14:11:02 +01:00 |
|
Alex Vasilev
|
5d013a79d6
|
exclude '
|
2023-01-24 13:19:20 +05:30 |
|
Alex Vasilev
|
5f1796f837
|
uncomment check
|
2023-01-24 12:45:51 +05:30 |
|
Alex Vasilev
|
8678b92218
|
Allow renaming lifetiems and labels without leading apostrophe
|
2023-01-24 12:43:13 +05:30 |
|
Lukas Wirth
|
84239a1454
|
REplace soft breaks in markdown with spaces
|
2023-01-23 12:21:23 +01:00 |
|
Lukas Wirth
|
4685b97f74
|
Remove hover fallback in favor of ranged hover
|
2023-01-20 21:52:05 +01:00 |
|
Lukas Wirth
|
a542bd46bf
|
Split out some hover functions
|
2023-01-20 16:30:08 +01:00 |
|
Lukas Wirth
|
c5b1e3f2ae
|
Fix markdown removal in hover handling whitespace weirdly
|
2023-01-20 14:29:12 +01:00 |
|
Lukas Wirth
|
384fa4b84a
|
fix: Fix target-data-layout fetching incorrectly passing 'rustc' to rustc
|
2023-01-19 21:31:08 +01:00 |
|
bors
|
fa874627f0
|
Auto merge of #13969 - Veykril:workspace.dependencies, r=Veykril
Use workspace.dependencies to declare local dependencies
|
2023-01-17 10:29:27 +00:00 |
|
bors
|
62907858d5
|
Auto merge of #13964 - Veykril:workspace.package, r=Veykril
Specify authors, edition, license and rust-versian via workspace.package
|
2023-01-17 10:13:24 +00:00 |
|
Lukas Wirth
|
bed4db3c62
|
Use workspace.dependencies to declare local dependencies
|
2023-01-17 10:52:26 +01:00 |
|
bors
|
e11c0e3e85
|
Auto merge of #13966 - HKalbasi:layout, r=Veykril
Don't compute layout if `TargetDataLayout` is not available
|
2023-01-17 09:39:32 +00:00 |
|
hkalbasi
|
ec65b3b3aa
|
fix tests
|
2023-01-16 23:45:12 +03:30 |
|
Lukas Wirth
|
e4858fe480
|
Specify authors, edition and license via workspace.package
|
2023-01-16 16:44:00 +01:00 |
|
Lukas Wirth
|
679df2adf1
|
Specify rust-version via workspace.package
|
2023-01-16 16:33:01 +01:00 |
|
Lukas Wirth
|
3a95864df5
|
Unconditionally enable location links in inlay hints again
|
2023-01-16 16:04:38 +01:00 |
|
Maybe Waffle
|
81d7e302ed
|
Add basic tooltips to adjustment hints
|
2023-01-16 12:44:39 +00:00 |
|
Maybe Waffle
|
a7787533af
|
Use the fact that Either : AstNode
|
2023-01-14 15:20:32 +00:00 |
|
Lukas Wirth
|
27ba598dfe
|
Make inlay hint location links work for more types
|
2023-01-14 13:30:56 +01:00 |
|
Lukas Wirth
|
f2444b2a40
|
Remove unnecessary Hint suffix on InlayKind variants
|
2023-01-14 13:08:45 +01:00 |
|
Lukas Wirth
|
60075a6625
|
Remove hover inlay tooltips, replace them with location links
|
2023-01-14 12:19:29 +01:00 |
|
Lukas Wirth
|
aafb0f1f8d
|
Use smallvec for inlay-hint parts
|
2023-01-13 15:03:37 +01:00 |
|
Lukas Wirth
|
14777ce751
|
fix indentation of unlinked_file quickfix
|
2023-01-12 11:24:44 +01:00 |
|
Lukas Wirth
|
bb4e272d8a
|
Refine search for const and function assoc items
|
2023-01-11 17:10:04 +01:00 |
|
bors
|
f32f64bffc
|
Auto merge of #13929 - danieleades:simplify, r=lnicola
internal: a number of code simplifications
|
2023-01-11 09:38:34 +00:00 |
|
bors
|
75877d78d9
|
Auto merge of #13897 - bvanjoi:nearest-block-search, r=Veykril
fix(ty): should query impls in nearest block
fix https://github.com/rust-lang/rust-analyzer/issues/13895
|
2023-01-10 22:44:29 +00:00 |
|
Daniel Eades
|
d218b237fd
|
collapse some nested blocks
|
2023-01-10 20:40:08 +00:00 |
|
bvanjoi
|
9a15cc81b4
|
fix(ty): should query impls in nearest block
|
2023-01-10 10:28:17 +08:00 |
|
Maybe Waffle
|
b6169c2a2e
|
Add a fixme to remove hacks
|
2023-01-09 13:37:37 +00:00 |
|