Skip to content

Commit d84fc67

Browse files
committed
Changelog #247
1 parent 945467f commit d84fc67

File tree

3 files changed

+52
-11
lines changed

3 files changed

+52
-11
lines changed

generated_assists.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ fn main() {
7373

7474
[discrete]
7575
=== `add_impl_default_members`
76-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/add_missing_impl_members.rs#L55[add_missing_impl_members.rs]
76+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/add_missing_impl_members.rs#L58[add_missing_impl_members.rs]
7777

7878
Adds scaffold for overriding default impl members.
7979

@@ -110,7 +110,7 @@ impl Trait for () {
110110

111111
[discrete]
112112
=== `add_impl_missing_members`
113-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/add_missing_impl_members.rs#L13[add_missing_impl_members.rs]
113+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/add_missing_impl_members.rs#L16[add_missing_impl_members.rs]
114114

115115
Adds scaffold for required impl members.
116116

@@ -2824,7 +2824,7 @@ fn main() {
28242824

28252825
[discrete]
28262826
=== `qualify_path`
2827-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/qualify_path.rs#L23[qualify_path.rs]
2827+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/qualify_path.rs#L24[qualify_path.rs]
28282828

28292829
If the name is unresolved, provides all possible qualified paths for it.
28302830

generated_features.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Displays the ItemTree of the currently open file, for debugging.
176176

177177

178178
=== Expand Macro Recursively
179-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/expand_macro.rs#L15[expand_macro.rs]
179+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/expand_macro.rs#L16[expand_macro.rs]
180180

181181
Shows the full macro expansion of the macro at the current caret position.
182182

@@ -223,7 +223,7 @@ image::https://user-images.githubusercontent.com/48062697/113020654-b42fc800-917
223223

224224

225225
=== Find All References
226-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/references.rs#L41[references.rs]
226+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/references.rs#L42[references.rs]
227227

228228
Shows all references of the item at the cursor location
229229

@@ -334,7 +334,7 @@ Note: `?`, `|` and `->` do not currently trigger this behavior in the VSCode edi
334334

335335

336336
=== Hover
337-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/hover.rs#L100[hover.rs]
337+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/hover.rs#L106[hover.rs]
338338

339339
Shows additional information, like the type of an expression or the documentation for a definition when "focusing" code.
340340
Focusing is usually hovering with a mouse, but can also be triggered with a shortcut.
@@ -343,7 +343,7 @@ image::https://user-images.githubusercontent.com/48062697/113020658-b5f98b80-917
343343

344344

345345
=== Inlay Hints
346-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L452[inlay_hints.rs]
346+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L454[inlay_hints.rs]
347347

348348
rust-analyzer shows additional information inline with the source code.
349349
Editors usually render this using read-only virtual text snippets interspersed with code.
@@ -605,7 +605,7 @@ image::https://user-images.githubusercontent.com/48062697/113065580-04c21800-91b
605605

606606

607607
=== Related Tests
608-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L212[runnables.rs]
608+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L213[runnables.rs]
609609

610610
Provides a sneak peek of all tests where the current item is used.
611611

@@ -620,7 +620,7 @@ the selected item. The context menu opens. Select **Peek Related Tests**.
620620

621621

622622
=== Rename
623-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/rename.rs#L74[rename.rs]
623+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/rename.rs#L70[rename.rs]
624624

625625
Renames the item below the cursor and all of its references
626626

@@ -634,7 +634,7 @@ image::https://user-images.githubusercontent.com/48062697/113065582-055aae80-91b
634634

635635

636636
=== Run
637-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L112[runnables.rs]
637+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L113[runnables.rs]
638638

639639
Shows a popup suggesting to run a test/benchmark/binary **at the current cursor
640640
location**. Super useful for repeatedly running just a single test. Do bind this
@@ -1003,7 +1003,7 @@ image::https://user-images.githubusercontent.com/48062697/113065588-068bdb80-91b
10031003

10041004

10051005
=== View Memory Layout
1006-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/view_memory_layout.rs#L73[view_memory_layout.rs]
1006+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/view_memory_layout.rs#L74[view_memory_layout.rs]
10071007

10081008
Displays the recursive memory layout of a datatype.
10091009

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
= Changelog #247
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:fa003262474185fd62168379500fe906b331824b[] +
7+
Release: release:2024-08-19[] (`v0.3.2078`)
8+
9+
== New Features
10+
11+
* pr:17845[] implement TAIT and fix ATPIT.
12+
* pr:17853[] support `min_exhaustive_patterns`.
13+
* pr:17595[] implement lifetime inference.
14+
* pr:17915[] make rust-analyzer partially work while offline.
15+
16+
== Fixes
17+
18+
* pr:17833[] (first contribution) reuse recursion limit as expansion depth limit.
19+
* pr:17900[] (first contribution) add option to exclude vendored libraries from SCIP/LSIF output.
20+
* pr:17864[] build and run build scripts for LSIF.
21+
* pr:17859[] support `#[rustc_deprecated_safe_2024]`.
22+
* pr:17905[] properly account for editions in names.
23+
* pr:17863[] resolve included files to their calling modules in IDE layer.
24+
* pr:17865[] emit non-exhaustive let diagnostics for async and unsafe blocks.
25+
* pr:17882[] fix panic while canonicalizing erroneous projection type.
26+
* pr:17893[] fix panic on associated functions with type annotations.
27+
* pr:17916[] fix panic while lowering `impl Trait` parameter of parent generics.
28+
* pr:17867[] handle trailing excess comma in "Convert to named struct".
29+
30+
== Internal Improvements
31+
32+
* pr:17903[] (first contribution) don't kill the flycheck process command group.
33+
* pr:17908[] test for word boundary in `FindUsages`.
34+
* pr:17842[], pr:17843[] optimize channel usage.
35+
* pr:17850[] send back empty responses while the VFS is still loading.
36+
* pr:17876[] remove unreachable logic for include token mapping.
37+
* pr:17896[] check the edition for edition-dependent syntax kinds.
38+
* pr:17891[] be more resilient to bad language item definitions in binary operator inference.
39+
* pr:17907[] replace `once_cell` with the `std` types.
40+
* pr:17862[] fix auto-publishing workflow.
41+
* pr:17909[] remove `rust-analyzer.workspace.discoverProjectRunner`.

0 commit comments

Comments
 (0)