Latest commit 93e4eab Nov 3, 2017 @MarkZ3 MarkZ3 [clangd] Handle clangd.applyFix server-side
Summary:
When the user selects a fix-it (or any code action with commands), it is
possible to let the client forward the selected command to the server.
When the clangd.applyFix command is handled on the server, it can send a
workspace/applyEdit request to the client. This has the advantage that
the client doesn't explicitly have to know how to handle
clangd.applyFix. Therefore, the code to handle clangd.applyFix in the VS
Code extension (and any other Clangd client) is not required anymore.

Reviewers: ilya-biryukov, sammccall, Nebiroth, hokein

Reviewed By: hokein

Subscribers: ioeric, hokein, rwols, puremourning, bkramer, ilya-biryukov

Tags: #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D39276

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@317322 91177308-0d34-0410-b5e6-96231b3b80d8
Permalink
..
Failed to load latest commit information.
clients/clangd-vscode [clangd] Handle clangd.applyFix server-side Nov 3, 2017
fuzzer [clangd] Don't use /// for non-doxygen comments. Oct 26, 2017
tool Performance tracing facility for clangd. Nov 2, 2017
CMakeLists.txt Performance tracing facility for clangd. Nov 2, 2017
ClangdLSPServer.cpp [clangd] Handle clangd.applyFix server-side Nov 3, 2017
ClangdLSPServer.h [clangd] Handle clangd.applyFix server-side Nov 3, 2017
ClangdServer.cpp Performance tracing facility for clangd. Nov 2, 2017
ClangdServer.h [clangd] Report an error on findDefinitions/signatureHelp on an unope… Oct 26, 2017
ClangdUnit.cpp Performance tracing facility for clangd. Nov 2, 2017
ClangdUnit.h [clangd] Fix clang-tidy warnings. Oct 28, 2017
ClangdUnitStore.cpp [clangd] Fix clang-tidy warnings. Oct 28, 2017
ClangdUnitStore.h [clangd] Fix clang-tidy warnings. Oct 28, 2017
DraftStore.cpp Fixing compilation failures on buildbots. May 16, 2017
DraftStore.h [clangd] Serialize onDiagnosticsReady callbacks for the same file. Sep 20, 2017
Function.h [clangd] Added missing #includes to Function.h Oct 10, 2017
GlobalCompilationDatabase.cpp [clangd] clang-format the source code. NFC. Oct 10, 2017
GlobalCompilationDatabase.h [clangd] Command line arg to specify compile_commands.json path Oct 2, 2017
JSONRPCDispatcher.cpp [clangd] Handle clangd.applyFix server-side Nov 3, 2017
JSONRPCDispatcher.h [clangd] Handle clangd.applyFix server-side Nov 3, 2017
Logger.cpp [clangd] Introduced Logger interface. Sep 20, 2017
Logger.h [clangd] Introduced Logger interface. Sep 20, 2017
Path.h Restored r303067 and fixed failing test. May 16, 2017
Protocol.cpp [clangd] Handle clangd.applyFix server-side Nov 3, 2017
Protocol.h [clangd] Handle clangd.applyFix server-side Nov 3, 2017
ProtocolHandlers.cpp [clangd] Handle clangd.applyFix server-side Nov 3, 2017
ProtocolHandlers.h [clangd] Handle clangd.applyFix server-side Nov 3, 2017
Trace.cpp Performance tracing facility for clangd. Nov 2, 2017
Trace.h Performance tracing facility for clangd. Nov 2, 2017