Skip to content

"jump to start of impl block" action #19803

Open
@lolbinarycat

Description

@lolbinarycat

if you used this while inside an impl block, it would move your cursor to the start of the impl block.

this would be a nice addition alongside jump to definition. perhaps this could even be what happens if you do jump to definition while hovering a self parameter.

Activity

lnicola

lnicola commented on May 16, 2025

@lnicola
Member

This works today with "Go to type definition" on self.

EDIT: never mind, it's not the same thing.

Veykril

Veykril commented on May 16, 2025

@Veykril
Member

Go to type on self should go to the type within the impl target though (as in, that's what the feature ought to do)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lnicola@Veykril@lolbinarycat

        Issue actions

          "jump to start of impl block" action · Issue #19803 · rust-lang/rust-analyzer