draivin / hsnips

HyperSnips: a powerful snippet engine for VS Code, inspired by vim's UltiSnips
MIT License
154 stars 25 forks source link

Support for WSL2 sublinux system for Windows #161

Open hywu-ag opened 1 year ago

hywu-ag commented 1 year ago

Will the author consider updating for the support of WSL2? So far the configuration of the hsnips doesn't work even with the changed customed direction of snippets. It would be great if anyone knew how to fix this and left the solution here!

JoelHobson commented 2 months ago

I ran into this same problem, but was able to solve it. The problem is that the extension doesn't immediately detect changes from the file system. If you create your hsnips file and either restart vscode, or run the Hypersnips: Reload Snippets command, it starts working.