abulka / vscode-snippet-creator

An extension to simplify the snippet creation
11 stars 2 forks source link

Create Snippet command does nothing in portable VSCode installation #5

Open wikiped opened 3 years ago

wikiped commented 3 years ago

This is linked to issue #9 in Snippets Explorer.

Steps to reproduce:

  1. Open portable VSCode installation.
  2. Open file with some known extension.
  3. Type text to serve as snippet body. Select it.
  4. Open Command pallet and enter command create snippet.
  5. Answer all prompts.
  6. Open Snippet Explorer (v.1.0.4+). Click refresh icon. Created snippet is not there.

No file created in ~/vscode/snippets directory either. But since it is portable installation ~/vscode does not exist in a first place.

Manually opening relevant .json file in portable snippets location also shows that nothing has been created.

This has been tested on Win 10. with Snippet Creator v1.1.2.