File tree Expand file tree Collapse file tree 4 files changed +33
-2
lines changed Expand file tree Collapse file tree 4 files changed +33
-2
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,11 @@ building from locking the `Cargo.lock` at the expense of duplicating build artif
158
158
Set to `true` to use a subdirectory of the existing target directory or
159
159
set to a path relative to the workspace to use that path.
160
160
--
161
+ [[rust-analyzer.cfg.setTest]]rust-analyzer.cfg.setTest (default: `true` )::
162
+ +
163
+ --
164
+ Set `cfg(test)` for local crates. Defaults to true.
165
+ --
161
166
[[rust-analyzer.checkOnSave]]rust-analyzer.checkOnSave (default: `true` )::
162
167
+
163
168
--
Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ image::https://user-images.githubusercontent.com/48062697/113020661-b6922200-917
411
411
412
412
413
413
=== Magic Completions
414
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-completion/src/lib.rs#L42 [lib.rs]
414
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-completion/src/lib.rs#L67 [lib.rs]
415
415
416
416
In addition to usual reference completion, rust-analyzer provides some ✨magic✨
417
417
completions as well:
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ Release: release:2024-09-30[] (`v0.3.2129`)
8
8
9
9
== New Features
10
10
11
+ * pr:17923[] (first contribution) add option to rebuild project before restarting debugging.
11
12
* pr:18180[] index workspace symbols at start-up rather than on the first search.
12
13
13
14
== Fixes
14
15
15
- * pr:17923[] (first contribution) add option to rebuild project before restarting debugging.
16
16
* pr:18160[] fix name resolution with renamed imports and shadowing.
17
17
* pr:18164[] handle import aliases in `remove_unused_imports`.
18
18
* pr:18161[] improve reference handling in consuming postfix completions.
Original file line number Diff line number Diff line change
1
+ = Changelog #254
2
+ :sectanchors:
3
+ :experimental:
4
+ :page-layout: post
5
+
6
+ Commit: commit:2b750da1a1a2c1d2c70896108d7096089842d877[] +
7
+ Release: release:2024-10-07[] (`v0.3.2137` )
8
+
9
+ == New Features
10
+
11
+ * pr:18085[] provide an option (`rust-analyzer.cfg.setTest`) to not set `cfg(test)`.
12
+
13
+ == Fixes
14
+
15
+ * pr:18207[] (first contribution) suggest UpperCamelCase instead of CamelCase to match `rustc`.
16
+ * pr:18210[] fix resolution of labels inside macro calls.
17
+ * pr:18206[] handle block expressions as modules when finding their parents.
18
+ * pr:18219[] fix incorrect bootstrap error message.
19
+ * pr:18255[] use external stack in borrow check DFS.
20
+
21
+ == Internal Improvements
22
+
23
+ * pr:18167[] send less data for completions, if possible.
24
+ * pr:18234[] filter out opaque tokens when descending into macros for some IDE features.
25
+ * pr:18195[] remove `Default` from OpQueue.
26
+ * pr:18227[] add JSON `tracing` `Layer` for profiling start-up.
You can’t perform that action at this time.
0 commit comments