commit | b47269109a5216fe0642f0760361c480d39f84c9 | [log] [tgz] |
---|---|---|
author | Utkarsh Saxena <usx@google.com> | Tue Sep 24 13:38:33 2019 +0000 |
committer | Utkarsh Saxena <usx@google.com> | Tue Sep 24 13:38:33 2019 +0000 |
tree | 93b98143ffeadcbcfcc20f56e3ab7a5f562b7c9d | |
parent | 2c5deb385fae51a20eb36761bcd12f2dbfcd1df9 [diff] |
[clangd] Add semantic selection to ClangdLSPServer. Summary: This adds semantic selection to the LSP Server. Adds support for serialization of input request and the output reply. Also adds regression tests for the feature. Currently we do not support multi cursor.The LSP Server only accepts single position in the request as opposed to many position in the spec. Spec: https://github.com/microsoft/language-server-protocol/blob/dbaeumer/3.15/specification.md#textDocument_selectionRange Reviewers: hokein Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D67720 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@372753 91177308-0d34-0410-b5e6-96231b3b80d8