mylesmmurphy / prettify-ts

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

Support for .svelte files #14

Open prima-ram opened 10 months ago

prima-ram commented 10 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 10 months ago

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

insilications commented 9 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 6 months 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