zjffun / vscode-snippets-manager

Create and edit snippets easily.
https://marketplace.visualstudio.com/items?itemName=zjffun.snippetsmanager
MIT License
36 stars 5 forks source link

Snippets on WSL #19

Closed datvq closed 1 year ago

datvq commented 1 year ago

The problem with using WSL for development is that extension cannot be used on WSL if they are only installed on the Windows host.

Therefore, you must install extensions on WSL and create snippets in the ~/.vscode-server/data/User/snippets directory for the extension to interact properly.

The issue is that VScode only suggests snippets from the snippets folder on the Windows host at C:\Users\your_name\AppData\Roaming\Code\User\snippets.

So the question is, can we simply install the extension on the Windows host and have it still be active on WSL, with all snippets managed on the Windows host?

Thanks for reading.

zjffun commented 1 year ago

We find this is a bug and fixed in v0.2.1. 🎉

Thank you!

datvq commented 1 year ago

We are the ones who need to say thank you.