Skip to content

Goto Declaration or Implementation of Structure Does Not Move Cursor #869

@samuel-gh

Description

@samuel-gh

If you right click on a structure type and choose "Goto Declaration" or "Goto Implementation" CodeLite will take you to the structure's type definition, but it doesn't move the cursor to the line of the definition. This is not the case for functions and #define constants, which work as expected. The problem is frustrating because if you Goto Declaration and then press the up or down arrows you are taken to the beginning of the current file and have essentially lost your location in the file.

Reproduced with CodeLite 8.0 on 64-bit Windows 7.

Example to reproduce:

main.h:

typedef struct _tagExample_t
{
int a;
} Example_t;

main.c:

include "main.h"

void main(void)
{
Example_t myexample;
}

Put the cursor on Example_t in main(), right click, and choose "Goto Declaration" or "Goto Implementation".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions