Skip to content

imenu: show static member variable instead of function #102

@vohv

Description

@vohv

When I use imenu, emacs displays the static member variables of the function instead of the function.
only lsp-mode + emacs-ccls has this problem.

I tried the following schemes are all good:

  • lsp-mode + clangd
  • eglot + clangd
  • eglot + ccls

image
image

I don't know if this is the problem of lsp-mode or emacs-ccls.

If my function has many static member variables, positioning the function will become very difficult.

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