snippet
snippet copied to clipboard
Empty array when exporting snippets
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.
Hi @d-eriksson
Did you manage to get your snippets exported, I've not been able to replicate this.
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.
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.
I have the same issue