snippet icon indicating copy to clipboard operation
snippet copied to clipboard

Empty array when exporting snippets

Open d-eriksson opened this issue 4 years ago • 4 comments

Hi! First of all, thank you for an awesome extension. When I try to export my snippets the resulting json is an empty array. Any idea why this is? I see in the readme that export is coming soon but also it seems like it was released with 1.0.0.

I don't know how you would recreate this, I simply opened the command panel and used export snippets. The result as previously mentioned was an empty array.

d-eriksson avatar Mar 30 '21 20:03 d-eriksson

Hi @d-eriksson

Did you manage to get your snippets exported, I've not been able to replicate this.

devon2018 avatar Oct 30 '21 16:10 devon2018

It seems it has to do with exporting if VS Code has not been restarted after installing the extension and creating the snippet. I was getting the empty array too, but after restarting VS Code, export worked properly. Before restart, I edited, saved and inserted the snippet several times, so it was definitely created/updated.

veljko avatar Dec 07 '21 22:12 veljko

Hi @veljko

Thanks for the confirmation and how to replicate, I believe this might have been related to another issue that was fixed in the last release, it would be great if you could try replicate the issue again using the latest version just to confirm its still there, i've tried and have not been able to.

devon2018 avatar Jan 22 '22 18:01 devon2018

I have the same issue

souhailmerroun avatar Dec 12 '22 04:12 souhailmerroun