You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been wanting this feature, and so I've been working on it, and I've got something working, though it still requires a fair bit more work, but just to have a space for feedback I'm making this issue.
The feature I want is to be able to have an enum like
enumE{A = 5,B = 1 << 3,}
which should display something like A = 5 or B = 8.
When hovering on E::A it currently just displays A, which isn't very useful.
Currently consts like const C: u8 = 1 << 8; have this feature, and I think it would make a lot of sense to bring similar feature parity to enum variants.
This requires both updating the hover rendering of enum variants, but the bigger task is to provide proper const evaluation support, which I am currently working on implementing.
The text was updated successfully, but these errors were encountered:
I've been wanting this feature, and so I've been working on it, and I've got something working, though it still requires a fair bit more work, but just to have a space for feedback I'm making this issue.
The feature I want is to be able to have an enum like
which should display something like
A = 5
orB = 8
.When hovering on
E::A
it currently just displaysA
, which isn't very useful.Currently consts like
const C: u8 = 1 << 8;
have this feature, and I think it would make a lot of sense to bring similar feature parity to enum variants.This requires both updating the hover rendering of enum variants, but the bigger task is to provide proper const evaluation support, which I am currently working on implementing.
The text was updated successfully, but these errors were encountered: