[all-commits] [llvm/llvm-project] c03b58: [clangd] Fix code action kind for readability-iden...
Ruoyu Zhong via All-commits
all-commits at lists.llvm.org
Tue Oct 14 03:08:20 PDT 2025
Branch: refs/heads/release/21.x
Home: https://github.com/llvm/llvm-project
Commit: c03b58bb091ed8f2c171c485b833f9ced6cba72e
https://github.com/llvm/llvm-project/commit/c03b58bb091ed8f2c171c485b833f9ced6cba72e
Author: Ruoyu Zhong <zhongruoyu at outlook.com>
Date: 2025-10-14 (Tue, 14 Oct 2025)
Changed paths:
M clang-tools-extra/clangd/ClangdLSPServer.cpp
M clang-tools-extra/clangd/unittests/ClangdLSPServerTests.cpp
Log Message:
-----------
[clangd] Fix code action kind for readability-identifier-naming fixes (#162808)
https://github.com/llvm/llvm-project/pull/78454 converted
readability-identifier-naming fixes to use rename mechanism to rename
the symbol project-wide. However, it set the code action kind to
"refactor" instead of "quickfix", which caused the fixes to be filtered
out when editors (like VS Code) request quick fixes for diagnostics. On
VS Code, for example, users would see "No quick fixes available" despite
the diagnostic indicating "(fix available)".
Fix that by changing the code action kind back to "quickfix".
Signed-off-by: Ruoyu Zhong <zhongruoyu at outlook.com>
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