[PATCH] D55052: Fix junk output in clangd vscode plugin

Haojian Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 30 01:18:58 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL347968: [clangd] Fix junk output in clangd vscode plugin (authored by hokein, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D55052?vs=175897&id=176049#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55052/new/

https://reviews.llvm.org/D55052

Files:
  clang-tools-extra/trunk/clangd/clients/clangd-vscode/src/extension.ts


Index: clang-tools-extra/trunk/clangd/clients/clangd-vscode/src/extension.ts
===================================================================
--- clang-tools-extra/trunk/clangd/clients/clangd-vscode/src/extension.ts
+++ clang-tools-extra/trunk/clangd/clients/clangd-vscode/src/extension.ts
@@ -54,7 +54,9 @@
             code2Protocol: (value: vscode.Uri) => value.toString(),
             protocol2Code: (value: string) =>
                 vscode.Uri.file(realpathSync(vscode.Uri.parse(value).fsPath))
-        }
+        },
+        // Do not switch to output window when clangd returns output
+        revealOutputChannelOn: vscodelc.RevealOutputChannelOn.Never
     };
 
   const clangdClient = new vscodelc.LanguageClient('Clang Language Server', serverOptions, clientOptions);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55052.176049.patch
Type: text/x-patch
Size: 786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181130/35354083/attachment.bin>


More information about the llvm-commits mailing list