| Version 1 (modified by , 4 years ago) ( diff ) |
|---|
Configuration
- Create a symlink in the root of your WebKit source directory:
$ ln -s WebKitBuild/GTK/Release/compile_commands.json compile_commands.json
ReplacingGTKwithWPEif you are commonly building the WPE port.
- In your IDE set the clangd path to
<WebKitSourceDirectory>/Tools/flatpak/webkit-flatpak. - Make sure that the clangd arguments include the
--enable-configand the--gtkor--wpeoptions.
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"
}
Note:
See TracWiki
for help on using the wiki.