[all-commits] [llvm/llvm-project] 926c20: [clangd] Add support for textDocument/rangesFormat...
Tom Praschan via All-commits
all-commits at lists.llvm.org
Mon May 26 01:08:39 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 926c2013231a030a52037528bac0ba124c35ac32
https://github.com/llvm/llvm-project/commit/926c2013231a030a52037528bac0ba124c35ac32
Author: Tom Praschan <13141438+tom-anders at users.noreply.github.com>
Date: 2025-05-26 (Mon, 26 May 2025)
Changed paths:
M clang-tools-extra/clangd/ClangdLSPServer.cpp
M clang-tools-extra/clangd/ClangdLSPServer.h
M clang-tools-extra/clangd/ClangdServer.cpp
M clang-tools-extra/clangd/ClangdServer.h
M clang-tools-extra/clangd/Protocol.cpp
M clang-tools-extra/clangd/Protocol.h
M clang-tools-extra/clangd/test/formatting.test
M clang-tools-extra/clangd/test/initialize-params.test
M clang-tools-extra/clangd/unittests/ClangdTests.cpp
M clang-tools-extra/clangd/unittests/SyncAPI.cpp
M clang-tools-extra/clangd/unittests/SyncAPI.h
Log Message:
-----------
[clangd] Add support for textDocument/rangesFormatting (#141208)
Uses the protocol changes proposed in
https://github.com/microsoft/language-server-protocol/pull/1556 and
https://github.com/microsoft/vscode/pull/163190
Related issue: https://github.com/clangd/clangd/issues/1635
Old Phabricator review: https://reviews.llvm.org/D150852
Relevant LSP 3.18 spec:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.18/specification/#documentRangesFormattingParams
Old PR: https://github.com/llvm/llvm-project/pull/80180,
https://github.com/llvm/llvm-project/pull/141052
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list