mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Remove fixme from inlay_hints.ts
I have reevaluated the fixme and it doesn't seem necessary to pass an array of files to the inlay hints request. This will (a) make the request more compilcated (b), make us wait for inlay hints for `all` active editors resolve at once before rendering and (c) doesn't seem required because 99% of the time there is a single active editor in the IDE
This commit is contained in:
parent
8146700f82
commit
de2324d9e6
1 changed files with 0 additions and 1 deletions
|
@ -111,7 +111,6 @@ class HintsUpdater implements Disposable {
|
|||
}
|
||||
|
||||
syncCacheAndRenderHints() {
|
||||
// FIXME: make inlayHints request pass an array of files?
|
||||
this.sourceFiles.forEach((file, uri) => this.fetchHints(file).then(hints => {
|
||||
if (!hints) return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue