wiki:WebKitEnablingFlatpakClangd

Configuration

In your IDE set the clangd path to <WebKitSourceDirectory>/Tools/flatpak/webkit-clangd. Make sure that the clangd arguments include the --enable-config and the --gtk or --wpe options.

Vim Example

For instance, when configuring vim's coc via :CocLocalConfig you write:

{
    "clangd.arguments": [
        "--enable-config",
        "--gtk"
    ],
    "clangd.path": "/home/user/WebKit/Tools/flatpak/webkit-clangd"
}
Last modified 2 years ago Last modified on Jun 9, 2022, 3:06:49 AM
Note: See TracWiki for help on using the wiki.