question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

clangd.inlayHints.enable=false seems not working when I upgrade coc-clangd to 0.24

See original GitHub issue

Please describe the problem. For hints on what information is helpful, see: https://clangd.llvm.org/troubleshooting.html

If you can, provide a minimal chunk of code that shows the problem (either inline, or attach it if larger).

Logs Please attach the clangd log from :CocCommand workspace.showOutput if you can. If possible, run with --log=verbose - note that the logs will include the contents of open files!

System information Clangd version (from the log, or clangd --version): clangd extension version (from :CocInfo): Operating system: 33 32 vim version: NVIM v0.7.0 31 node version: v14.19.3 30 coc.nvim version: 0.0.82-3ab29075 2022-08-26 00:21:58 +0800 29 coc.nvim directory: /home/lym/.local/share/nvim/plugged/coc.nvim 28 term: tmux 27 platform: linux 26 25 ## Log of coc.nvim 24 23 2022-09-06T10:22:36.992 ERROR (pid:5815) [configurations] - Invalid configuration “suggest.detailMaxLength” from coc-clangd, overwrite defaults is fobidden. 22 2022-09-06T10:22:36.993 ERROR (pid:5815) [configurations] - Invalid configuration “diagnostic.format” from coc-clangd, overwrite defaults is fobidden. 21 2022-09-06T10:22:37.211 INFO (pid:5815) [services] - registered service “json” 20 2022-09-06T10:22:37.212 INFO (pid:5815) [services] - Json language server state change: stopped => starting 19 2022-09-06T10:22:37.216 INFO (pid:5815) [plugin] - coc.nvim initialized with node: v14.19.3 after 252ms 18 2022-09-06T10:22:37.259 INFO (pid:5815) [services] - registered service “clangd” 17 2022-09-06T10:22:37.259 INFO (pid:5815) [services] - clangd state change: stopped => starting 16 2022-09-06T10:22:37.291 INFO (pid:5815) [language-client-index] - Language server “clangd” started with 5835 15 2022-09-06T10:22:37.307 INFO (pid:5815) [services] - clangd state change: starting => running 14 2022-09-06T10:22:37.316 INFO (pid:5815) [services] - service clangd started 13 2022-09-06T10:22:37.371 INFO (pid:5815) [services] - Json language server state change: starting => running 12 2022-09-06T10:22:37.380 INFO (pid:5815) [services] - service json started 11 2022-09-06T10:22:40.851 INFO (pid:5815) [attach] - receive notification: highlight [] 10 2022-09-06T10:22:54.841 INFO (pid:5815) [attach] - receive notification: highlight [] 9 2022-09-06T10:24:23.894 INFO (pid:5815) [attach] - receive notification: highlight [] 8 2022-09-06T10:24:25.102 INFO (pid:5815) [attach] - receive notification: runCommand [ ‘workspace.showOutput’ ] 7 2022-09-06T10:24:30.458 WARN (pid:5815) [plugin] - Slow action “runCommand” cost 5352ms 6 2022-09-06T10:24:30.938 INFO (pid:5815) [attach] - receive notification: highlight [] 5 2022-09-06T10:24:32.494 INFO (pid:5815) [attach] - receive notification: highlight [] 4 2022-09-06T10:24:34.150 INFO (pid:5815) [attach] - receive notification: highlight [] 3 2022-09-06T10:24:35.088 INFO (pid:5815) [attach] - receive notification: highlight [] 2 2022-09-06T10:24:36.097 INFO (pid:5815) [attach] - receive notification: highlight [] 1 2022-09-06T10:24:42.795 INFO (pid:5815) [attach] - receive notification: showInfo [] 35

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fannheywardcommented, Sep 6, 2022

Fixed in 0.25.0

1reaction
fannheywardcommented, Sep 6, 2022

Reproduced. Works on clangd 14, but not 15 and 16 nightly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

InlayHints default setting · Discussion #986 · clangd ... - GitHub
Hi all, InlayHints seems to be on by default after llvm/llvm-project@7c19fdd (this line and this line specifically), I wonder if this is intentional?...
Read more >
Using neovim, clangd and coc.nvim, why am I getting format
As suggested in the readme of coc-clangd plugin, setting clangd.inlayHints.enable to false in your config file turns the feature off.
Read more >
nvim (plugged with coc, coc-clangd) is showing parameters for ...
I'm using a common vimrc for vim and neovim, but this problem only happens in neovim. FILE *fp = NULL; fp = fopen(fname,...
Read more >
Coc-clangd - npm.io
coc-clangd. This extension connects coc.nvim to the clangd language server. Quick Start. install Node.js. coc.nvim and coc-clangd run on Node.js.
Read more >
clangd.inlayHints.enable=false seems not working when I upgrade ...
clangd.inlayHints.enable=false seems not working when I upgrade coc-clangd to 0.24 #499. Please describe the problem. For hints on what information is helpful, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found