ts-type-expand icon indicating copy to clipboard operation
ts-type-expand copied to clipboard

Enhancement : Show type name on node root when possible

Open TonyGravagno opened this issue 1 year ago • 0 comments

These screenshots will immedaitely clarify the request. image Note mouseover on config reveals the type to be AppConfigJson. Yes, the treeview shows the typename on mouseover but if there is a type, can we have an option to see it in the tree without mouseover? image

As another example, note this code and then see how the tree shows it:

type ReactStyles = Record<StyleKeys, CSS.Properties>
type MuiStyles = Record<StyleKeys, CSS.Properties>
...
  styles: {
    current: () => ReactStyles
    react: ReactStyles
    mui: MuiStyles
  }

image

There is plenty of room there to show "Properties (ReactStyles)".

Thanks!

TonyGravagno avatar Aug 31 '23 20:08 TonyGravagno