Skip to content

Feature Suggestion: Showing the type of a variable on hover #366

Open
@AntonC9018

Description

@AntonC9018

I often find myself in need of knowing the type of an auto declaration, especially when working with Phobos, where the returned type of most functions is implied by the compiler. In such cases I do pragma(msg, typeof(variable)) and then compile my code to spot the type in the output, which is annoying. A far more convenient feature would be to see the type of a variable by hovering the mouse over it. Is this even possible to implement with the current state of things?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions