Skip to content

Allow to jump to exact key in i18n locale file #616

@rnestler

Description

@rnestler

It would be nice if I could jump directly to the key in the locale file with :Elocale or a similar command when hovering inside a t().

So for example (* indicating cursor position):

I18n.t("admin.actions.toggle_lock.fla*sh.unlocked")

should jump to one of these locations

  admin:
    actions:
      toggle_lock:
        flash:* # if we want to support jumping to the section
          unlocked: *"User unlocked successfully." # if we want to just jump to the location of the full key
          locked: "User locked successfully."

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