Skip to content

Ctrl+Click should not navigate to itself - go to the decl or def instead #2298

@Flamefire

Description

@Flamefire

Using 0.17.7 a bug was introduced, that CTRL+click on a function definition does not go to its declaration. The other way round and GoToDeclaration(CTRL+F12) does work though.

This is really annoying if you are working on a class source file and want to adjust the function signature. Using CTRL+F12 does work but is but is more effort.

Why not just make GoToDef work just as GoToDeclaration when you are already at the definition? GoToDef is useless at that point and simply being able to use F12 or CTRL+click would simplify the workflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions