jest-community / vscode-jest

The optimal flow for Jest based testing in VS Code
MIT License
2.83k stars 290 forks source link

Feature Request: Release snapshot syntax as separate vscode extension #385

Open asvetliakov opened 6 years ago

asvetliakov commented 6 years ago

This will be very useful for those who don't use vscode-jest but want snapshot file colorization. For example users or chai-jest-snapshot or snapshot LS extension.

Thanks for considering.

tomatau commented 6 years ago

Please do this. Snapshots syntax is beneficial without jest! It should be a simple release and a good separation of concerns!

connectdotz commented 6 years ago

the snapshot parsing logic is already separated from vscode-jest. You can take a look of Snapshot in jest-editor-support, a sub-package under jest. How to use it? see vscode-jest code here.

asvetliakov commented 6 years ago

I mean this file

connectdotz commented 6 years ago

i see, then this will be up to the repo owner.

noinkling commented 5 years ago

It looks like someone did this: https://marketplace.visualstudio.com/items?itemName=tlent.jest-snapshot-language-support