twoslash icon indicating copy to clipboard operation
twoslash copied to clipboard

[Feature] VS Code extension

Open kravetsone opened this issue 1 year ago • 4 comments

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!

kravetsone avatar Feb 08 '24 12:02 kravetsone

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

antfu avatar Feb 08 '24 12:02 antfu

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 avatar Feb 10 '24 12:02 kravetsone

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

For example, a convenient snippet!

image

kravetsone avatar Feb 13 '24 16:02 kravetsone

Aren't there already a few?

lishaduck avatar Jun 12 '24 17:06 lishaduck