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

Support for .svelte files #14

Open prima-ram opened 4 months ago

prima-ram commented 4 months ago

Hi, I love your plugin. It would be amazing if it had support for .svelte files.

I would make the PR myself but i have checked the @Support for .tsx/typescriptreact files #10 PR and I am not sure I will be able to handle it.

Thank you again for the great work.

mylesmmurphy commented 4 months ago

Hey @prima-ram! Thanks for mentioning this. I'll start taking a look into it and see what's possible. 😄

insilications commented 3 months ago

I think that this would be facilitated if prettify relied on the ts server already open by vscode and accessed by https://github.com/sveltejs/language-tools? Perhaps the work by https://github.com/mylesmmurphy/prettify-ts/pull/12 could facilitate this?

mylesmmurphy commented 1 month ago

Hi @prima-ram I wanted to follow up with you. The project is currently being re-engineered to utilize a ts server plugin, which will more easily allow svelte support. This is definitely on the roadmap, and I plan to introduce support after the reworked project is fully tested and released.

https://github.com/mylesmmurphy/prettify-ts/releases/tag/v0.1.0-alpha