Skip to content

Outline view is not reflecting headers and macros #380

@alirana01

Description

@alirana01

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.
image
With the cdt-lsp editor I noticed that the outline is limited to variables and functions only
image
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions