You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It took me a while to get back on the cdt-lsp side. I noticed that the defautl C/C++ editor was generating really nice SymbolModels and the outline view reflected the complete information of the opened file.
With the cdt-lsp editor I noticed that the outline is limited to variables and functions only
The attached images are from the same file in different editors.
I am also attaching the clangd console output while debugging my pde project clangd.log
If my understanding is correct it could also be that clangd is not returning the header and macors as a symbol information. Sadly my understanding of clangd is not strong enough to get to know more about it.
Possibly if you can point me to the correct direction for the code I can take a look at that as well.
The text was updated successfully, but these errors were encountered:
If my understanding is correct it could also be that clangd is not returning the header and macors as a symbol information. Sadly my understanding of clangd is not strong enough to get to know more about it
Yes, you' re right. I haven't dug very deep yet, but IMO the Language Server Protocol does not support header and macros in its data model, because they are C/C++ language specific.
If my understanding is correct it could also be that clangd is not returning the header and macors as a symbol information. Sadly my understanding of clangd is not strong enough to get to know more about it
Yes, you' re right. I haven't dug very deep yet, but IMO the Language Server Protocol does not support header and macros in its data model, because they are C/C++ language specific.
Thanks for the response can you please point me to the file responsible for the request to the clangd server for documentSymbols?
Hi,
It took me a while to get back on the cdt-lsp side. I noticed that the defautl C/C++ editor was generating really nice SymbolModels and the outline view reflected the complete information of the opened file.
With the cdt-lsp editor I noticed that the outline is limited to variables and functions only
The attached images are from the same file in different editors.
Incase you need a bit more insight to the file I am using it can be found here (https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/blufi/main/blufi_example_main.c)
I am also attaching the clangd console output while debugging my pde project
clangd.log
If my understanding is correct it could also be that clangd is not returning the header and macors as a symbol information. Sadly my understanding of clangd is not strong enough to get to know more about it.
Possibly if you can point me to the correct direction for the code I can take a look at that as well.
The text was updated successfully, but these errors were encountered: