diff --git a/generated_config.adoc b/generated_config.adoc index f37fd7f4..708fc2b7 100644 --- a/generated_config.adoc +++ b/generated_config.adoc @@ -158,6 +158,11 @@ building from locking the `Cargo.lock` at the expense of duplicating build artif Set to `true` to use a subdirectory of the existing target directory or set to a path relative to the workspace to use that path. -- +[[rust-analyzer.cfg.setTest]]rust-analyzer.cfg.setTest (default: `true`):: ++ +-- +Set `cfg(test)` for local crates. Defaults to true. +-- [[rust-analyzer.checkOnSave]]rust-analyzer.checkOnSave (default: `true`):: + -- diff --git a/generated_features.adoc b/generated_features.adoc index d0105ee6..8d2ca9ba 100644 --- a/generated_features.adoc +++ b/generated_features.adoc @@ -411,7 +411,7 @@ image::https://user-images.githubusercontent.com/48062697/113020661-b6922200-917 === Magic Completions -**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-completion/src/lib.rs#L42[lib.rs] +**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-completion/src/lib.rs#L67[lib.rs] In addition to usual reference completion, rust-analyzer provides some ✨magic✨ completions as well: diff --git a/thisweek/_posts/2024-09-30-changelog-253.adoc b/thisweek/_posts/2024-09-30-changelog-253.adoc index b519cb48..3d5b799f 100644 --- a/thisweek/_posts/2024-09-30-changelog-253.adoc +++ b/thisweek/_posts/2024-09-30-changelog-253.adoc @@ -8,11 +8,11 @@ Release: release:2024-09-30[] (`v0.3.2129`) == New Features +* pr:17923[] (first contribution) add option to rebuild project before restarting debugging. * pr:18180[] index workspace symbols at start-up rather than on the first search. == Fixes -* pr:17923[] (first contribution) add option to rebuild project before restarting debugging. * pr:18160[] fix name resolution with renamed imports and shadowing. * pr:18164[] handle import aliases in `remove_unused_imports`. * pr:18161[] improve reference handling in consuming postfix completions. diff --git a/thisweek/_posts/2024-10-07-changelog-254.adoc b/thisweek/_posts/2024-10-07-changelog-254.adoc new file mode 100644 index 00000000..5ac23c73 --- /dev/null +++ b/thisweek/_posts/2024-10-07-changelog-254.adoc @@ -0,0 +1,26 @@ += Changelog #254 +:sectanchors: +:experimental: +:page-layout: post + +Commit: commit:2b750da1a1a2c1d2c70896108d7096089842d877[] + +Release: release:2024-10-07[] (`v0.3.2137`) + +== New Features + +* pr:18085[] provide an option (`rust-analyzer.cfg.setTest`) to not set `cfg(test)`. + +== Fixes + +* pr:18207[] (first contribution) suggest UpperCamelCase instead of CamelCase to match `rustc`. +* pr:18210[] fix resolution of labels inside macro calls. +* pr:18206[] handle block expressions as modules when finding their parents. +* pr:18219[] fix incorrect bootstrap error message. +* pr:18255[] use external stack in borrow check DFS. + +== Internal Improvements + +* pr:18167[] send less data for completions, if possible. +* pr:18234[] filter out opaque tokens when descending into macros for some IDE features. +* pr:18195[] remove `Default` from OpQueue. +* pr:18227[] add JSON `tracing` `Layer` for profiling start-up.