Skip to content

Commit e3656da

Browse files
committed
Changelog #87
1 parent 425e731 commit e3656da

File tree

4 files changed

+81
-3
lines changed

4 files changed

+81
-3
lines changed

generated_config.adoc

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,29 @@ Controls file watching implementation.
204204
[[rust-analyzer.files.excludeDirs]]rust-analyzer.files.excludeDirs (default: `[]`)::
205205
+
206206
--
207-
These directories will be ignored by rust-analyzer.
207+
These directories will be ignored by rust-analyzer. They are
208+
relative to the workspace root, and globs are not supported. You may
209+
also need to add the folders to Code's `files.watcherExclude`.
210+
--
211+
[[rust-analyzer.highlightRelated.references]]rust-analyzer.highlightRelated.references (default: `true`)::
212+
+
213+
--
214+
Enables highlighting of related references while hovering your mouse above any identifier.
215+
--
216+
[[rust-analyzer.highlightRelated.exitPoints]]rust-analyzer.highlightRelated.exitPoints (default: `true`)::
217+
+
218+
--
219+
Enables highlighting of all exit points while hovering your mouse above any `return`, `?`, or return type arrow (`->`).
220+
--
221+
[[rust-analyzer.highlightRelated.breakPoints]]rust-analyzer.highlightRelated.breakPoints (default: `true`)::
222+
+
223+
--
224+
Enables highlighting of related references while hovering your mouse `break`, `loop`, `while`, or `for` keywords.
225+
--
226+
[[rust-analyzer.highlightRelated.yieldPoints]]rust-analyzer.highlightRelated.yieldPoints (default: `true`)::
227+
+
228+
--
229+
Enables highlighting of all break points for a loop or block context while hovering your mouse above any `async` or `await` keywords.
208230
--
209231
[[rust-analyzer.highlighting.strings]]rust-analyzer.highlighting.strings (default: `true`)::
210232
+

generated_features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ image::https://user-images.githubusercontent.com/48062697/113020657-b560f500-917
244244
// IMPORTANT: master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
245245

246246
== Highlight Related
247-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/highlight_related.rs#L21[highlight_related.rs]
247+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/highlight_related.rs#L29[highlight_related.rs]
248248

249249
Highlights constructs related to the thing under the cursor:
250250
- if on an identifier, highlights all references to that identifier in the current file

manual.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ interface Dep {
639639
This format is provisional and subject to change.
640640
Specifically, the `roots` setup will be different eventually.
641641

642-
There are tree ways to feed `rust-project.json` to rust-analyzer:
642+
There are three ways to feed `rust-project.json` to rust-analyzer:
643643

644644
* Place `rust-project.json` file at the root of the project, and rust-anlayzer will discover it.
645645
* Specify `"rust-analyzer.linkedProjects": [ "path/to/rust-project.json" ]` in the settings (and make sure that your LSP client sends settings as a part of initialize request).
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
= Changelog #87
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:5983d3745ac8490c1c2798fdc963aa9fc803dd03[] +
6+
Release: release:2021-07-26[]
7+
8+
== Sponsors
9+
10+
**Become a sponsor:** On https://opencollective.com/rust-analyzer/[OpenCollective] or
11+
https://github.com/sponsors/rust-analyzer[GitHub Sponsors].
12+
13+
== New Features
14+
15+
* pr:9660[] (first contribution) hide keyword suggestions in non-trivial paths:
16+
+
17+
image::https://user-images.githubusercontent.com/14952658/126478222-54c742bb-2bd3-4e5b-b533-f835264604be.png[]
18+
+
19+
image::https://user-images.githubusercontent.com/14952658/126479635-819127d8-322b-4e34-acd2-194d1e9ba504.png[]
20+
* pr:9678[] add configuration for "highlight related" features:
21+
+
22+
image::https://user-images.githubusercontent.com/2295721/126728849-a38b560c-b687-42c1-9c41-7584ad718469.gif[]
23+
* pr:9665[] only complete ancestors and `self` in visibility path completions.
24+
* pr:9681[], pr:9681[] respect `#[doc(hidden)]` in dot-completion.
25+
* pr:9688[] resolve `derive` attribute input macro paths.
26+
27+
28+
== Fixes
29+
30+
* pr:9634[] (first contribution) improve `rust-analyzer.files.excludeDirs` docs.
31+
* pr:9637[] overhaul `doc_links` testing infra and fix several issues.
32+
* pr:9646[] show `use` prefix in completion list for auto-imports.
33+
* pr:9651[] restrict completions inside visibility modifiers.
34+
* pr:9662[] only import public items from other crates.
35+
* pr:9663[] don't offer "Extract variable" when there is no surrounding block.
36+
* pr:9674[] fix pattern name resolution when the name also exists as a type.
37+
* pr:9677[] correctly classify renamed imports.
38+
* pr:9691[] keep catch-all arm in "Fill match arms" if it has a non-empty expression.
39+
40+
41+
== Internal Improvements
42+
43+
* pr:9453[] (first contribution) add `Limit` struct.
44+
* pr:9631[] (fisrt contribution) add some metadata to make `cargo deb` happy.
45+
* pr:9641[] link to the "Explaining Rust Analyzer" series.
46+
* pr:9625[] simplify handling of build scripts.
47+
* pr:9633[] add `TreeId` to identify ``ItemTree``s.
48+
* pr:9635[] explain why we avoid serializing everything.
49+
* pr:9638[] replace some unwraps with types.
50+
* pr:9645[] make CI logs easier to skim.
51+
* pr:9644[] add simple smoke test for project model.
52+
* pr:9647[] remove potentially slow method.
53+
* pr:9652[] don't concat path in the "Replace qualified name with use" assist when it starts with a keyword.
54+
* pr:9675[] move and clean up record completion tests.
55+
* pr:9683[] move out expression-based `unqualified_path` completion tests.
56+
* pr:9685[] add tests for tuple struct field completion and resolve a FIXME.

0 commit comments

Comments
 (0)