Skip to content

Read bytesize of Sized types on hover. #4355

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

Closed
iago-lito opened this issue May 7, 2020 · 1 comment
Closed

Read bytesize of Sized types on hover. #4355

iago-lito opened this issue May 7, 2020 · 1 comment

Comments

@iago-lito
Copy link

Since we can statically tell the type of a variable under cursor, and since the sizeof Sized types is also statically known,
would it be possible to read not only the type, but also the size on hover information?

(previously posted at rls with no success)

@lnicola
Copy link
Member

lnicola commented May 7, 2020

Duplicate of #4091. This is actually easier to implement in RLS right now.

@lnicola lnicola closed this as completed May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants