mylesmmurphy / prettify-ts

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

Add prettify-ts-plugin #12

Open LukeAbby opened 5 months ago

LukeAbby commented 5 months ago

This is rather rudimentary at the moment. Here's things that need to be explored further before it stops being a draft:

mylesmmurphy commented 5 months ago

Hey @LukeAbby - this draft looks great so far. I've been learning about TS LSP's a bit over the past week and attempted to add the prettification myself as well, but ran into the same issue you mentioned where it gets complicated. However, I agree that ts-morph is probably doing too much. I'm really excited to see where you go with this, I absolutely believe this is the future of this project 🥳