Skip to content

Commit fa24289

Browse files
committed
Changelog #112
1 parent 353ba95 commit fa24289

File tree

4 files changed

+51
-7
lines changed

4 files changed

+51
-7
lines changed

generated_config.adoc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,12 @@ Only applies when `#rust-analyzer.completion.addCallParenthesis#` is set.
146146
--
147147
Whether to add parenthesis when completing functions.
148148
--
149-
[[rust-analyzer.completion.snippets]]rust-analyzer.completion.snippets (default: `{
149+
[[rust-analyzer.completion.snippets]]rust-analyzer.completion.snippets::
150+
+
151+
--
152+
Default:
153+
----
154+
{
150155
"Arc::new": {
151156
"postfix": "arc",
152157
"body": "Arc::new(${receiver})",
@@ -186,10 +191,10 @@ Whether to add parenthesis when completing functions.
186191
"description": "Wrap the expression in an `Option::Some`",
187192
"scope": "expr"
188193
}
189-
}`)::
190-
+
191-
--
194+
}
195+
----
192196
Custom completion snippets.
197+
193198
--
194199
[[rust-analyzer.completion.postfix.enable]]rust-analyzer.completion.postfix.enable (default: `true`)::
195200
+

generated_features.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ image::https://user-images.githubusercontent.com/48062697/113065578-04c21800-91b
512512

513513

514514
=== On Typing Assists
515-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/typing.rs#L39[typing.rs]
515+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/typing.rs#L37[typing.rs]
516516

517517
Some features trigger on typing certain characters:
518518

@@ -941,7 +941,7 @@ image::https://user-images.githubusercontent.com/48062697/113065588-068bdb80-91b
941941

942942

943943
=== Workspace Symbol
944-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_db/src/symbol_index.rs#L159[symbol_index.rs]
944+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_db/src/symbol_index.rs#L156[symbol_index.rs]
945945

946946
Uses fuzzy-search to find types, modules and functions by name across your
947947
project and dependencies. This is **the** most useful feature, which improves code

manual.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,9 @@ You'll need to close and reopen all .rs and Cargo files, or to restart the IDE,
411411
=== Kate Text Editor
412412

413413
Support for the language server protocol is built into Kate through the LSP plugin, which is included by default.
414-
It is preconfigured to use Rls for rust sources, but allows you to use rust-analyzer through a simple settings change.
414+
It is preconfigured to use rust-analyzer for Rust sources since Kate 21.12.
415+
416+
Earlier versions allow you to use rust-analyzer through a simple settings change.
415417
In the LSP Client settings of Kate, copy the content of the third tab "default parameters" to the second tab "server configuration".
416418
Then in the configuration replace:
417419
[source,json]
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
= Changelog #112
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:e6e72809e3b55da3a57af95e6445a12729331ad6[] +
6+
Release: release:2022-01-17[]
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:11258[] (first contribution) Kate uses rust-analyzer by default now.
16+
* pr:11210[], pr:11292[] deprioritize ops and comparison methods in completion.
17+
* pr:11248[] take arm types into consideration in `Merge match assist`.
18+
19+
== Fixes
20+
21+
* pr:11247[] print a single ellipsis for any number of omitted types.
22+
* pr:11257[] report missing macro diagnostics in item bodies.
23+
* pr:11259[] fix `use super::{super::...};`.
24+
* pr:11261[] don't complete attributes with existing expressions.
25+
* pr:11263[] don't drop param completions when fully typing out a pattern.
26+
* pr:11265[] fix postfix completion panic.
27+
* pr:11282[] properly cache files in Semantics when ascending macros.
28+
* pr:11283[] adjust auto-indentation when typing `.`.
29+
* pr:11287[] quiet down "overly long loop turn" messages during project load.
30+
31+
== Internal Improvements
32+
33+
* pr:11266[], pr:11267[], pr:11274[] restore `hir` API boundary.
34+
* pr:11284[] remove redundant recursion limit.
35+
* pr:11276[] clean up `HasFormatSpecifier::lex_format_specifier` slightly.
36+
* pr:11286[] clean up associated item collection.
37+
* pr:11294[] move format specifier lexing from `syntax` to `ide_db`.

0 commit comments

Comments
 (0)