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

James Findley via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 29 10:05:50 PST 2018


jfindley updated this revision to Diff 175897.
jfindley added a comment.

Changed the comment to be a little more helpful.  I used 'output' rather than errors because depending on verbosity level it can be more than just errors printed.


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

https://reviews.llvm.org/D55052

Files:
  clangd/clients/clangd-vscode/src/extension.ts


Index: clangd/clients/clangd-vscode/src/extension.ts
===================================================================
--- clangd/clients/clangd-vscode/src/extension.ts
+++ 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.175897.patch
Type: text/x-patch
Size: 714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181129/08f64817/attachment-0001.bin>


More information about the cfe-commits mailing list