snippets icon indicating copy to clipboard operation
snippets copied to clipboard

‌‌Two prompts have been found

Open htoooth opened this issue 2 years ago • 2 comments

When I set up the snippet, I found that there were two same options in the prompt.

image

In the figure above, I set btn, txt, ui, vc, and they all have become two options.

htoooth avatar Dec 03 '23 07:12 htoooth

@htoooth are these snippets bound to a language ?

tahabasri avatar Jan 30 '24 16:01 tahabasri

Yes, I set all these snippets to JavaScript. image image

@tahabasri

htoooth avatar Feb 04 '24 03:02 htoooth

@htoooth are these snippets bound to a language ?

I had the same problem.We need help!

15Star avatar Jan 02 '25 01:01 15Star

@htoooth @15Star if you're still using my extension, thank you! And I need your help so I can troubleshoot this issue (as I can reproduce in couple of laptops I own):

Please install this debug version https://drive.google.com/file/d/1TH6PAiPkI4Fzv7YUECaSc_OtAPwlmFAZ/view?usp=sharing

Here are the steps:

  • IMPORTANT!!! Export your snippets in order to keep them safe
  • Uninstall existing extension installation
  • Extract the file downloaded
  • Locate and install the new version from the menu Install from VSIX... Image
  • Go the output panel and select Snippets from the Output picklist Image
  • Select Trace from the Level menu Image
  • Restart VS Code.
  • If the Snippets list is empty, import your original snippets (using the original backup you made)
  • Once the Snippets are loaded, use the trigger character to show the suggestions
  • Probably the issue you're having in first place will still be there, but you'll see some messages in the Output panel at the bottom of the screen
  • Please copy everything from that panel and share it with me via email ([email protected])

Thanks for sticking with my extension, we will fix this together.

tahabasri avatar Feb 18 '25 18:02 tahabasri

Fixed by https://github.com/tahabasri/snippets/pull/111

tahabasri avatar May 18 '25 19:05 tahabasri