User forums > Using Code::Blocks
can't jump to definition of std::string_view
stahta01:
I am guessing he needs to install "codeblocks-contrib" package.
Tim S.
mayaming:
Here's how to got C::B installed. I added
deb https://apt.xaviou.fr/debian12/ bookworm main
deb-src https://apt.xaviou.fr/debian12/ bookworm main
to my apt source and then installed codeblocks, but I did not install codeblocks-contrib. After I installed it, the "Clangd_Client" plugin appeared and now I can goto implementation of string_view.
After I jumped to the source code of string_view, it's not correctly highlighted (I attached the screen shot), but anyway I can jump to read the source now. Thanks for your help!
mayaming:
The highlight issue is because string_view header file doesn't have an extension, so it won't be applied with c/c++ syntax highlight. It worked after I added "*" to c/c++ file pattern matching.
Navigation
[0] Message Index
[*] Previous page
Go to full version