aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-08-29 00:05:42 +0100
committerVeetaha <[email protected]>2020-08-29 00:05:42 +0100
commitde2324d9e6aa378d28799aaaa3336e6efb7a06b7 (patch)
treee45884bd65196c8a823a197a1d937739a727483a /editors/code
parent8146700f82b75cd3cda5191108b4277a9908c744 (diff)
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
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/inlay_hints.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts
index 7b481fc72..30ade9b98 100644
--- a/editors/code/src/inlay_hints.ts
+++ b/editors/code/src/inlay_hints.ts
@@ -111,7 +111,6 @@ class HintsUpdater implements Disposable {
111 } 111 }
112 112
113 syncCacheAndRenderHints() { 113 syncCacheAndRenderHints() {
114 // FIXME: make inlayHints request pass an array of files?
115 this.sourceFiles.forEach((file, uri) => this.fetchHints(file).then(hints => { 114 this.sourceFiles.forEach((file, uri) => this.fetchHints(file).then(hints => {
116 if (!hints) return; 115 if (!hints) return;
117 116