Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to render type labels #99

Open
Horusiath opened this issue Oct 13, 2024 · 1 comment
Open

Add option to render type labels #99

Horusiath opened this issue Oct 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Horusiath
Copy link

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

@elbywan
Copy link
Owner

elbywan commented Oct 14, 2024

Hey 👋

That is a nifty feature indeed, I'll look into this when I've got some free time (no promises) 👍

@elbywan elbywan added the enhancement New feature or request label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants