Skip to content

Commit

Permalink
Changelog #254
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola committed Oct 7, 2024
1 parent 460e72b commit 678bac6
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
5 changes: 5 additions & 0 deletions generated_config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`)::
+
--
Expand Down
2 changes: 1 addition & 1 deletion generated_features.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion thisweek/_posts/2024-09-30-changelog-253.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
26 changes: 26 additions & 0 deletions thisweek/_posts/2024-10-07-changelog-254.adoc
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 678bac6

Please sign in to comment.