zjffun / vscode-snippets-manager

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

search not working #25

Closed josersleal closed 3 weeks ago

josersleal commented 4 months ago

thats it... press search button, list shows, input anything, nothing changes

zjffun commented 4 months ago

Are there any items in the list? If there have no one, you can try to search from all snippets like:

Screen Shot 2024-07-08 at 00 50 45

I also added a new feature in v0.3.8 that if no snippets found, a message will show to let user search from all snippets.

Screen Shot 2024-07-08 at 00 55 37
josersleal commented 4 months ago

I get this on activating search:

image

adding text does not filter the list: image

zjffun commented 4 months ago

That seems a bug. Could you provide your VS Code info and the extension version?

VS Code info like:

Version: 1.91.0 (Universal) Commit: ea1445cc7016315d0f5728f8e8b12a45dc0a7286 Date: 2024-07-01T18:54:18.541Z Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Darwin arm64 21.4.0

from:

Screen Shot 2024-07-09 at 01 06 45 Screen Shot 2024-07-09 at 01 06 56

and the extension version like v0.3.8 from:

image

I need thous info to reproduce. Because it's work well in my environment.

Screen Shot 2024-07-09 at 01 06 19
zjffun commented 3 weeks ago

I find snippets with array type of prefix will cause this bug, and fixed it in v0.3.11. 🎉