Skip to content

Commit 2262010

Browse files
committed
fix parens for localize calls
1 parent bca1d45 commit 2262010

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Extension/src/LanguageServer/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,8 +1435,8 @@ async function onCopilotHover(): Promise<void> {
14351435
if (await vscodelm.fileIsIgnored(fileUri, copilotHoverProvider.getCurrentHoverCancellationToken() ?? CancellationToken.None)) {
14361436
// Context is not available for this file.
14371437
telemetry.logLanguageServerEvent("CopilotHover", { "Message": "Copilot summary is not available for definition or declaration." });
1438-
await showCopilotContent(copilotHoverProvider, hoverDocument, hoverPosition, localize("copilot.hover.unavailable", "Copilot summary is not available." + "\n\n" +
1439-
localize("copilot.hover.excluded", "The file containing this symbol's defintion or declaration has been excluded from use with Copilot.")));
1438+
await showCopilotContent(copilotHoverProvider, hoverDocument, hoverPosition, localize("copilot.hover.unavailable", "Copilot summary is not available.") + "\n\n" +
1439+
localize("copilot.hover.excluded", "The file containing this symbol's defintion or declaration has been excluded from use with Copilot."));
14401440
return;
14411441
}
14421442
}

0 commit comments

Comments
 (0)