Skip to content

Commit 0cb502f

Browse files
committed
Address suggestions regarding inlay hints in VSCode
1 parent b1ba74c commit 0cb502f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Editors/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"sourcekit-lsp.inlayHints.enabled": {
6262
"type": "boolean",
6363
"default": true,
64-
"description": "Whether inlay type annotations should be rendered in the editor. Enabled by default."
64+
"description": "Render inlay type annotations in the editor."
6565
},
6666
"sourcekit-lsp.trace.server": {
6767
"type": "string",

Editors/vscode/src/inlayHints.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ class HintsUpdater implements vscode.Disposable {
140140
private syncCacheAndRenderHints(): void {
141141
this.sourceFiles.forEach(async (file, uri) => {
142142
const hints = await this.fetchHints(file);
143-
if (!hints) return;
144143

145144
const decorations = this.hintsToDecorations(hints);
146145
file.cachedDecorations = decorations;

0 commit comments

Comments
 (0)