LSP client project-specific include dirs
Christoph Cullmann
christoph at cullmann.io
Mon Aug 12 11:34:22 BST 2019
On 2019-08-12 12:27, Diggory Hardy wrote:
> Dear all (but especially Christoph Cullmann),
>
> thanks for the great work on the LSP client, which now works quite
> well with Rust code!
>
> When trying to use this with a C++ project, I have an issue with it
> being unable to find header files. With KDevelop I am able to solve
> this problem by specifying a project-specific include directory. How
> should I solve this with the LSP client? I see no way of configuring
> include dirs, either within LSP configuration or the Project plugin.
This relies on having some compilation database file.
e.g. CMake can generate that and you can symlink it into your source
tree
see https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html
Greetings
Chritoph
--
Ignorance is bliss...
https://cullmann.io | https://kate-editor.org
More information about the KWrite-Devel
mailing list