[all-commits] [llvm/llvm-project] 678303: [clangd] Fix code action kind for readability-iden...
Ruoyu Zhong via All-commits
all-commits at lists.llvm.org
Sun Oct 12 23:05:13 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 678303cd92983b75e35df298a9ee5a6d26ca4a26
https://github.com/llvm/llvm-project/commit/678303cd92983b75e35df298a9ee5a6d26ca4a26
Author: Ruoyu Zhong <zhongruoyu at outlook.com>
Date: 2025-10-13 (Mon, 13 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