Skip to content

Add new CompletionItemTag "static" #1659

Description

@ckandeler

It's useful for a user to know whether a candidate function is static or not, so there should be a corresponding tag.
Motivating C++ example:
struct S { void func1(); static void func2() }; S::fu/*complete here*/
Only func2 is valid for calling here, but the server will likely not be able to just omit func1, as the user might want to take a pointer to it, which is allowed. It will help the user immensely if the (non-)static-ness of the candidates is exposed here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions