Skip to content

Commit 4b03015

Browse files
committed
Changelog #229
1 parent 384a107 commit 4b03015

File tree

5 files changed

+36
-9
lines changed

5 files changed

+36
-9
lines changed

generated_assists.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2087,13 +2087,13 @@ fn print(_: &str) {}
20872087

20882088
fn bar() {
20892089
{
2090-
let word = "안녕하세요";
2090+
let word: &str = "안녕하세요";
20912091
if !word.is_empty() {
20922092
print(word);
20932093
}
20942094
};
20952095
{
2096-
let word = "여러분";
2096+
let word: &str = "여러분";
20972097
if !word.is_empty() {
20982098
print(word);
20992099
}

generated_features.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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#L99[hover.rs]
337+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/hover.rs#L100[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.
@@ -557,7 +557,7 @@ image::https://user-images.githubusercontent.com/48062697/113171066-105c2000-923
557557

558558

559559
=== Open Docs
560-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/doc_links.rs#L122[doc_links.rs]
560+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/doc_links.rs#L120[doc_links.rs]
561561

562562
Retrieve a links to documentation for the given symbol.
563563

@@ -586,7 +586,7 @@ image::https://user-images.githubusercontent.com/48062697/113065580-04c21800-91b
586586

587587

588588
=== Related Tests
589-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L197[runnables.rs]
589+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L199[runnables.rs]
590590

591591
Provides a sneak peek of all tests where the current item is used.
592592

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

616616

617617
=== Run
618-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L111[runnables.rs]
618+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L113[runnables.rs]
619619

620620
Shows a popup suggesting to run a test/benchmark/binary **at the current cursor
621621
location**. Super useful for repeatedly running just a single test. Do bind this

manual.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,10 @@ While the sandbox can be disabled for some directories, `/usr/bin` will always b
210210
This prevents access to the system's C compiler, a system-wide installation of Rust, or any other libraries you might want to link to.
211211
Some compilers and libraries can be acquired as Flatpak SDKs, such as `org.freedesktop.Sdk.Extension.rust-stable` or `org.freedesktop.Sdk.Extension.llvm15`.
212212

213-
If you use a Flatpak SDK for Rust, there should be no extra steps necessary.
213+
If you use a Flatpak SDK for Rust, it must be in your `PATH`:
214+
215+
* install the SDK extensions with `flatpak install org.freedesktop.Sdk.Extension.{llvm15,rust-stable}//23.08`
216+
* enable SDK extensions in the editor with the environment variable `FLATPAK_ENABLE_SDK_EXT=llvm15,rust-stable` (this can be done using flatseal or `flatpak override`)
214217

215218
If you want to use Flatpak in combination with `rustup`, the following steps might help:
216219

thisweek/_posts/2024-04-08-changelog-228.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ Release: release:2024-04-08[] (`v0.3.1916`)
1212

1313
== Fixes
1414

15-
* pr:17000[] (first contribution) set the right postfix snippets competion source range.
15+
* pr:17000[] (first contribution) set the right postfix snippet completion source range.
1616
* pr:16968[] silence type mismatches involving unresolved projections.
17-
* Fix `allTargets` config docs
1817
* pr:16997[] fix `patch_cfg_if` not applying with stitched sysroot.
1918
* pr:17006[] fix some `cfg` censoring bugs.
2019
* pr:17003[] fix off-by-one in LSP offset conversion.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
= Changelog #229
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:5dbe3fe75c584aee2063ef7877a639fe3382461e[] +
7+
Release: release:2024-04-15[] (`v0.3.1924`)
8+
9+
== Fixes
10+
11+
* pr:17019[] don't confuse paths with source roots sharing the same prefix.
12+
* pr:17063[] fix inlay hint resolution.
13+
* pr:17056[] run `cargo test` per workspace in the test explorer.
14+
* pr:17054[] revert "fix: postfix snippet completion source range".
15+
* pr:17051[] auto-close triple backticks.
16+
17+
== Internal Improvements
18+
19+
* pr:17034[] (first contribution) document enabling the Flatpak Rust SDK extension.
20+
* pr:17033[] log flycheck errors.
21+
* pr:17062[] temporarily disable unlinked file popup.
22+
* pr:16450[], pr:17065[] prepare parser interface for editions.
23+
* pr:17059[] make function builder create AST directly.
24+
* pr:17030[] bump `chalk`.
25+
* pr:17035[] run Windows tests on PRs too.

0 commit comments

Comments
 (0)