Skip to content

Commit e936137

Browse files
committed
Changelog #191
1 parent adc403b commit e936137

File tree

3 files changed

+46
-19
lines changed

3 files changed

+46
-19
lines changed

generated_assists.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ fn main() {
315315

316316
[discrete]
317317
=== `change_visibility`
318-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/change_visibility.rs#L12[change_visibility.rs]
318+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/change_visibility.rs#L13[change_visibility.rs]
319319

320320
Adds or changes existing visibility specifier.
321321

manual.adoc

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -449,27 +449,24 @@ You'll need to close and reopen all .rs and Cargo files, or to restart the IDE,
449449
Support for the language server protocol is built into Kate through the LSP plugin, which is included by default.
450450
It is preconfigured to use rust-analyzer for Rust sources since Kate 21.12.
451451

452-
Earlier versions allow you to use rust-analyzer through a simple settings change.
453-
In the LSP Client settings of Kate, copy the content of the third tab "default parameters" to the second tab "server configuration".
454-
Then in the configuration replace:
455-
[source,json]
456-
----
457-
"rust": {
458-
"command": ["rls"],
459-
"rootIndicationFileNames": ["Cargo.lock", "Cargo.toml"],
460-
"url": "https://github.com/rust-lang/rls",
461-
"highlightingModeRegex": "^Rust$"
462-
},
463-
----
464-
With
452+
To change rust-analyzer config options, start from the following example and put it into Kate's "User Server Settings" tab (located under the LSP Client settings):
465453
[source,json]
466454
----
455+
{
456+
"servers": {
467457
"rust": {
468-
"command": ["rust-analyzer"],
469-
"rootIndicationFileNames": ["Cargo.lock", "Cargo.toml"],
470-
"url": "https://github.com/rust-lang/rust-analyzer",
471-
"highlightingModeRegex": "^Rust$"
472-
},
458+
"initializationOptions": {
459+
"cachePriming": {
460+
"enable": false
461+
},
462+
"check": {
463+
"allTargets": false
464+
},
465+
"checkOnSave": false
466+
}
467+
}
468+
}
469+
}
473470
----
474471
Then click on apply, and restart the LSP server for your rust project.
475472

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
= Changelog #191
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:99718d0c8bc5aadd993acdcabc1778fc7b5cc572[] +
7+
Release: release:2023-07-24[] (`v0.3.1599`)
8+
9+
== New Features
10+
11+
* pr:15303[] fix highlighting of byte escape sequences.
12+
13+
== Fixes
14+
15+
* pr:15277[] (first contribution) limit `change_visibility` assist to top-level items.
16+
* pr:15312[] don't follow raw pointer derefs when considering method receiver candidates.
17+
* pr:15317[] look up supertraits in `is_dyn_method`.
18+
* pr:15320[] report `incorrect-ident-case` for inner items.
19+
* pr:15325[] normalize expected type in call arguments.
20+
21+
== Internal Improvements
22+
23+
* pr:15290[] (first contribution) use notification command links for debugger installation.
24+
* pr:15313[] (first contribution) add configuration example for Kate.
25+
* pr:15301[] support reading uncompressed proc macro metadata.
26+
* pr:15287[] remove `crate` visibility modifier.
27+
* pr:15316[] pass `TraitEnvironment` into `layout_ty` and `const_eval`.
28+
* pr:15323[] optimize `DepKindInfo` to `DepKind` conversion.
29+
* pr:15304[] use `.kind(Interner)` instead of `.data(Interner).kind`.
30+
* pr:15281[] break down VS Code extension CI steps to make them clearer.

0 commit comments

Comments
 (0)