Skip to content

Goto definition - all shown twice #6414

Closed
@neilyoung

Description

@neilyoung

Let me say first: I love your rust-analyzer (even though it causes pretty heavy load to my old MBP).

I have a question regarding "CMD_CLICK" to a symbol, which is AFAIK "show references".

If your plugin is disabled, this is shown while hovering over a symbol...

image

...and once I CMD_CLICK on the symbol the appropriate source file is opened and the cursor is positioned to the place where the symbol is defined.

Now, with your extension installed, the display changes a bit (it is annotated):

image

...and CMD_CLICK opens a popup-window, showing twice the same reference:

image

I suspect, this is because the symbol is shown twice in the hovering information. It is not such a big thing, but a bit annoying, if you just expect one place to be shown.

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-unactionableIssue requires feedback, design decisions or is blocked on other work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions