Skip to content

Commit 1f6c9be

Browse files
committed
[docs] clangd release notes
1 parent 2905a48 commit 1f6c9be

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,50 @@ Major New Features
4747
Improvements to clangd
4848
----------------------
4949

50-
The improvements are...
50+
- Go-to-definition, hover, find-references etc use a new mechanism to identify
51+
what is under the cursor, which is (hopefully) more consistent and accurate.
52+
53+
- clangd should be able to reliably locate the standard library/SDK on macOS.
54+
55+
- Shutdown more cleanly on receiving a signal. In particular temporary PCH files
56+
should be cleaned up.
57+
58+
- Find references now works on macros.
59+
60+
- clangd can be more easily used remotely or in a docker container.
61+
62+
The `--path-mappings` flag translates between local and remote paths.
63+
64+
- Experimental support for renaming across files (behind the
65+
`--cross-file-rename` flag).
66+
67+
- Hover now exposes more information, including the type of symbols and the
68+
value of constant expressions.
69+
70+
- Go to definition now works in dependent code in more cases, by assuming the
71+
primary template is used.
72+
73+
- Better recovery and reporting when the compile command for a file can't be
74+
fully parsed.
75+
76+
- Switch header/source (an extension) now uses index information in addition
77+
to filename heuristics, and is much more robust.
78+
79+
- Semantic selection (expand/contract selection) is supported.
80+
81+
- Semantic highlighting is more robust, highlights more types of tokens, and
82+
as an extension provides information about inactive preprocessor regions.
83+
84+
- Code completion results now include an extension field `score`.
85+
86+
This allows clients to incorporate clangd quality signals when re-ranking code
87+
completion after client-side fuzzy-matching.
88+
89+
- New refactorings:
90+
define function out-of-line, define function in-line, extract function,
91+
remove using namespace directive, localize Objective-C string.
92+
93+
- Bug fixes and performance improvements :-)
5194

5295
Improvements to clang-doc
5396
-------------------------

0 commit comments

Comments
 (0)