Skip to content

Add option to render type labels #99

@Horusiath

Description

@Horusiath

First: Thanks for this plugin! Without it writing Crystal code would be way worse experience.

What I'd like to propose is to enable read-only labels, that would display what kind of types are inferred for things like variables or method parameters and returns. It'd be great to be able to quickly glance over the type signatures without having to manually put cursor over every single one of them. It's one of the more desired features in IDE supporting languages with strong type inference.

Below I'm attaching an examples from Rust VS Code and Ionide (F# extension for VS Code) to illustrate:
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions