- Allow "clangd.path" to point to a shell script (restoring behavior from VS Code 1.91), behind option "clangd.useScriptAsExecutable" #730
- Handle language client being null if clangd is disabled or failed to initialize in the API #728, #731
- Added option to disable hovers #703
- Added option to disable clangd #636
- Key bindings are restricted to the supported files #690
- Allow "clangd.path" to point to a shell script (restoring behavior from VS Code 1.91) #708, #715
- vscode-clangd now exposes an API to other VSCode extensions, allowing them to make requests of their own to the clangd server #575
- The predefined variable
${workspaceFolderBasename}
is now recognized in settings values such as"clangd.arguments"
#147 - Bug fixes to inactive region highlighting
- Fix a regression in the behaviour of
clangd.restart
introduced in 0.1.27 #599
- Trigger signature help when accepting code completions, where appropriate #390
- Gracefully handle
clangd.restart
being invoked when the extension hasn't been activated yet #502 - Add an option to disable code completion #588
- Bump @clangd/install dependency to 0.1.17. This works around a bug in a dependent library affecting node versions 18.16 and later that can cause the downloaded clangd executable to be corrupt after unzipping.
- Combine inactive region style with client-side (textmate) token colors #193.
Requires clangd 17 or later.
- The default inactive region style is reduced opacity. The opacity level can be
customized with
clangd.inactiveRegions.opacity
. - An alternative inactive region style of a background highlight can be enabled with
clangd.inactiveRegions.useBackgroundHighlight=true
. The highlight color can be customized withclangd.inactiveRegions.background
inworkbench.colorCustomizations
.
- The default inactive region style is reduced opacity. The opacity level can be
customized with
- The variable substitution
${userHome}
is now supported in clangd configuration setting values #486
- Fix an undefined object access in ClangdContext.dispose() #461
- Remove custom secure configuration items and rely on workspace trust from vscode #451
- Update vscode-language client to 8.0.2, with apparent bugfixes
- clangd autoupdate: correctly detect versions of distro-modified clangd
- clangd autoupdate: improved error messages
- fix clangd not detected due to permission issues #267
- Type-hierarchy: Prefer standard/extension version of the feature depending on the clangd, rather than showing both.
- Fix: clangd status bar is missing, #362
- Update to vscode-languageclient 8. this enables standard LSP inlay hints with a recent clangd, and may carry other behavior changes.
- Fix inlay-hints not shown when using a standard-inlay-hint-supported clangd. #342
- "toggle inlay hints" command now respects the 4 states on/off/onUnlessPressed/offUnlessPressed
- Commit characters in code completion are explicitly disable (previously ignored due to a bug, see [#357]#357)).
- This is a rollback to address regressions in code completion introduced by 0.1.18.
- Unfortunately this breaks inlay hints again by reverting #342.
- Fix inlay-hints not shown when using a standard-inlay-hint-supported clangd. #342
- Fix errors in "download language server" command introduced in 0.1.16. #325
- Fix: "command clangd.inlayHints.toggle already exists" error on restarting clangd, #302
- Inlay hints: switch to use VSCode's native implementation, #301
- Bundle extension code into a single js file, reducing vsix file size, #287
- Fix: clangd extension fails to restart, #291
- Legacy semantic-highlighting is no longer supported, #273
- Inlay hints: fully support clangd's
documented protocol extension:
arbitrary types and the
position
property. - Inlay hints: cache hints more and refresh them less often.
- Inlay hints: respect editor.inlayHints.enabled, and provide a toggle command.
- CUDA: use VSCode's built-in language detection
- Switch header/source: constrain to applicable languages, add to context menu
- Releases now pushed to OpenVSX as well as VSCode Marketplace
- Add option to suppress warning about the Microsoft C/C++ extension incompatibility #221
- Clicking on status bar opens output panel, #177
- Commands to open user and project clangd confguration files #181
- Inlay hints support for parameters
#168 and types
#188. Requires a clangd
built after
llvm/llvm-project@cea736e5b
and
-inlay-hints
flag.
- Prompt when workspace overrides clangd.path and clangd.arguments, #160
- Fix semanticTokens flickering issue, #150
- clangd.path takes vscode.workspace.rootPath into account if available. #153
- Warn about conflict with ms-vscode.cpptools, #141
- Add "show AST" feature (clangd 12 or later), #104
- Add "restartAfterCrash" option, #108
- Add "serverCompletionRanking" option, #63
- Client side will not watch config files for clangd 12 or later, as clangd natively supports it #128
- Fix: improve workspace-symbol ranking for unqualified name, #81
- Fix: error on restarting clangd when using onConfigChanged, #98
- Fix: Resrict "show memory usage" button on its own view, #97