[PATCH] D38985: [refactor] Add support for editor commands that connect IDEs/editors to the refactoring actions
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 16 17:23:40 PDT 2017
arphaman created this revision.
Herald added subscribers: ilya-biryukov, mgorny.
This patch adds support for editor commands that allow refactoring to be used in editor clients like libclang or clangd.
An editor command can be bound to an refactoring action rule. Once it is bound, it's available in editors that use the supported editor clients.
I plan on sending out a follow-up patch for clangd support tomorrow.
Repository:
rL LLVM
https://reviews.llvm.org/D38985
Files:
include/clang/Tooling/Refactoring/EditorCommandRegistry.def
include/clang/Tooling/Refactoring/EditorCommands.h
include/clang/Tooling/Refactoring/RefactoringActionRule.h
include/clang/module.modulemap
lib/Tooling/Refactoring/CMakeLists.txt
lib/Tooling/Refactoring/EditorCommand.cpp
lib/Tooling/Refactoring/Extract.cpp
unittests/Tooling/RefactoringActionRulesTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38985.119237.patch
Type: text/x-patch
Size: 9175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171017/983c5e3b/attachment-0001.bin>
More information about the cfe-commits
mailing list