[PATCH] D54781: [clangd] Add 'Switch header/source' command in clangd-vscode
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 22 03:28:04 PST 2018
hokein added inline comments.
================
Comment at: clangd/clients/clangd-vscode/src/extension.ts:17
+export namespace SwitchSourceHeaderRequest {
+ export const type = new RequestType<TextDocumentIdentifier, string | undefined, void, void>('textDocument/switchSourceHeader');
+}
----------------
hokein wrote:
> Is `textDocument/switchSourceHeader` a built-in support in vscode? Is it documented somewhere? I couldn't find any official document at https://code.visualstudio.com. Am I missing anything here?
>
nvm, just realize that this is an LSP extension implemented inside clangd.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D54781
More information about the cfe-commits
mailing list