Skip to content

F3/ctrl+click for constructor does not work #563

@jkraskesis

Description

@jkraskesis

Given the program below the LSP-editor using F3 or ctrl+click does not bring me to the default- or copy-contructor. In the classic editor putting the cursor behind the variable name and using F3 brings me tot the constructor.

#include

class Object
{
public:
Object() { std::cout << "ctor\n"; }
Object( const Object& ) { std::cout << "copy ctor\n"; }
};

int main( [[maybe_unused]] int argc, [[maybe_unused]] char** argv )
{
Object o1;
Object o2 = o1;
return 0;
}

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