twoslashes / twoslash

Markup for generating rich type information in your documentations ahead of time.
https://twoslash.netlify.app/
MIT License
506 stars 17 forks source link

[Feature] VS Code extension #18

Open kravetsone opened 8 months ago

kravetsone commented 8 months ago

It would be great to have an extension that adds snippets and twoslash type checking directly to VSCode!

Your work is great! This is definitely a new era of documentation Someday I will prepare an article about Vitepress together with twoslash!

antfu commented 8 months ago

Can you elaborate more about what features you'd expect?

kravetsone commented 7 months ago

Can you elaborate more about what features you'd expect?

So that twoslash looks "alive" and is checked for errors directly in VSCode and it is desirable to lower the brightness of the elements that will be deleted (cut) for example

kravetsone commented 7 months ago

Can you elaborate more about what features you'd expect?

For example, a convenient snippet!

image

lishaduck commented 3 months ago

Aren't there already a few?