LSP init options and .clangd

General questions regarding the usage of CodeLite
dawn
CodeLite Enthusiast
Posts: 12
Joined: Fri May 17, 2019 2:54 pm
Genuine User: Yes
IDE Question: C++
Contact:

LSP init options and .clangd

Post by dawn »

I was wondering what the purpose of the initializationOption tab was and if is possible to use a .clangd config file.
Thanks in advance

dawn
CodeLite Enthusiast
Posts: 12
Joined: Fri May 17, 2019 2:54 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: LSP init options and .clangd

Post by dawn »

in addition to the previous message, I would like to point out how the tab in question appears with the title longer than the tab (png image attached)

You do not have the required permissions to view the files attached to this post.
dawn
CodeLite Enthusiast
Posts: 12
Joined: Fri May 17, 2019 2:54 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: LSP init options and .clangd

Post by dawn »

For anyone who wanted to use a config file .clangd for the LSP (only for clang of course), in my case it works only if placed in the root of the $(WorkspacePath)

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: LSP init options and .clangd

Post by eranif »

the purpose of this tab is to send custom initialization messages to the server (e.g. rust-analyzer and other tools)
I am ware of the length bug, seems like a bug in wxWidgets. I will remove the "fixed tab width" flag which seems to be fixed on some random fixed value inside wxWidgets library

Make sure you have read the HOW TO POST thread
Post Reply