[llvm-branch-commits] [clang-tools-extra] [clangd] Add clangd 20 release notes (PR #127358)
kadir çetinkaya via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Feb 17 00:30:03 PST 2025
================
@@ -67,35 +68,84 @@ Semantic Highlighting
Compile flags
^^^^^^^^^^^^^
+- Fixed a bug where clangd would unnecessarily reparse open files whose
+ compile command did not change when receiving a new compile command
+ via an LSP `workspace/configuration` request (#GH115438)
+
Hover
^^^^^
+- Hovering over a function name now shows the function's documentation
+ comment even if the comment is written above the function's out-of-line
+ definition in a different source file (#GH67802)
+
Code completion
^^^^^^^^^^^^^^^
+- Added an `ArgumentLists` config option under `Completion`. This is a more
+ flexible version of the `--function-arg-placeholders` command line flag,
+ allowing users more detailed control of what is inserted in argument list
+ position when clangd completes the name of a function in a function call
+ context. (#GH111322)
+- Clangd now supports configuring which headers should be inserted using
+ `<>` vs. `""` syntax using the `QuotedHeaders` and `AngledHeaders` config
+ options under `Style` (#GH67749)
- Added completion for C++20 keywords.
+- Clangd's `HeuristicResolver` component was upstreamed to `libSema` where
+ code completion can take advantage of it, resulting in improved code
+ completion in templated code
+- Code completion proposals for symbols defined in included headers now
+ include documentation comments (#GH120099)
----------------
kadircet wrote:
nit: again seems a little complex for the average user, maybe something like `Improved documentation retrieval`?
https://github.com/llvm/llvm-project/pull/127358
More information about the llvm-branch-commits
mailing list