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
When hovering over a numeric literal (binary bit_vector / std_(u)logic_vector, hex literal, or decimal), the tooltip currently shows signed/unsigned decimal conversions. It would be useful to also display the value in hex, binary, and octal, so you can cross-check representations without leaving the editor.
Current behaviour
The tooltip shows only signed/unsigned decimal:
Proposed output
For a literal like "10100101" or x"A5", the tooltip could show:
Halli hallo,
Feature Description
When hovering over a numeric literal (binary
bit_vector/std_(u)logic_vector, hex literal, or decimal), the tooltip currently shows signed/unsigned decimal conversions. It would be useful to also display the value in hex, binary, and octal, so you can cross-check representations without leaving the editor.Current behaviour
The tooltip shows only signed/unsigned decimal:
Proposed output
For a literal like
"10100101"orx"A5", the tooltip could show:1010_01010xA50o245165-91Relevant literal types
"10100101"x"A5",x"5A"16#F0#,8#360#to_unsigned/to_signedExample code
Note
1010_0101) would help readability for wider vectors