HomePhabricator

[clangd] Add support for FixIts.

Description

[clangd] Add support for FixIts.

Summary:
This uses CodeActions to show 'apply fix' actions when code actions are
requested for a location. The actions themselves make use of a
clangd.applyFix command which has to be implemented on the editor side. I
included an implementation for vscode.

This also adds a -run-synchronously flag which runs everything on the main
thread. This is useful for testing.

Reviewers: krasimir

Subscribers: cfe-commits

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

Details

Committed
d0kMar 1 2017, 8:16 AM
Differential Revision
D30498: [clangd] Add support for FixIts.
Parents
rL296635: Fix namespaces after clang-format update
Branches
Unknown
Tags
Unknown