Skip to content

VSCode feature request: display enum variant attributes on hover #16945

@Expurple

Description

@Expurple

Currently, VSCode doesn't display any attributes when I hover over an enum variant:

image

For me, it would be very handy to check attributes like #[error("...")] and #[serde(rename = "...")] without having to jump to the enum definition.

Is there some reason why the attributes shouldn't be displayed? Or is it a desirable but unimplemented feature?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions