Skip to content

Is it possible to show the field definitions and decriptions when cursor hovering over model class name Β #1033

@Darley-Wey

Description

@Darley-Wey

Is your feature request related to a problem? Please describe.
Default behavior: When hovering over a class name in PyCharm, it displays the class's docstring. However, for Pydantic models, the docstring is often empty because the model is typically self-documenting.

Issue: Is it possible for PyCharm to show the field definitions and their descriptions when hovering over the class name? This would make it easier to understand the model's structure without needing to jump to the source code.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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