Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Snippets on WSL #19

Closed
datvq opened this issue Jun 7, 2023 · 2 comments
Closed

Snippets on WSL #19

datvq opened this issue Jun 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@datvq
Copy link

datvq commented Jun 7, 2023

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 zjffun added the bug Something isn't working label Jun 10, 2023
@zjffun
Copy link
Owner

zjffun commented Jun 10, 2023

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

Thank you!

@datvq
Copy link
Author

datvq commented Jun 12, 2023

We are the ones who need to say thank you.

@datvq datvq closed this as completed Jun 12, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants