mylesmmurphy / prettify-ts

Prettify TypeScript: Better Type Previews
https://marketplace.visualstudio.com/items?itemName=MylesMurphy.prettify-ts
MIT License
264 stars 8 forks source link

[Request] Setting to show expanded type on bottom #48

Closed ferretwithaberet closed 2 weeks ago

ferretwithaberet commented 3 weeks ago

I would like the expanded type to be on the bottom and the smaller type at the top (as it is smaller). This does not need to be the default, but I would like a setting named "Expanded type position" with a selection of "top" or "bottom" to choose where you want to display the expanded type.

For example, here (ignoring the return types of functions,), if I want to know this is a dayjs date, I need to scroll down to see the type: image image

mylesmmurphy commented 2 weeks ago

Hi @ferretwithaberet! Sorry for the delay. Thanks for mentioning this issue. I believe this is a clone of issue #34 and will close this for now, but feel free to re-open this if you feel differently. I appreciate your feedback! 😄