New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Insider's Edition update1.20.0-insider broke my snippet extensions #41207
Comments
@TreTuna Can you check what the 'F1 > Insert Snippet' command shows? Do you find your snippet in that list? Can you share your snippet file? |
@jrieken Thanks for responding. There are no snippets found at all on my Insider's Edition VSC, however, my installation of Release VSC has them all. My snippets files are empty as I have no custom made snippets myself, all of mine come from extensions. I have side-by-side installations of release VSC and Insider's Edition. All settings/extensions/etc are matched using the Settings Sync extension and the Insider's edition just doesn't see the snippets at all. |
Oh, wait this is insiders vs stable, right? Both have separate locations for snippets, |
Yes, this is an issue with Code Insiders 1.20.0 (the version before that worked fine), not stable VSC 1.19.1. It's also a problem with snippets from extensions and not user created ones in those files. I have no personally created user snippets. However, to test if this was a full snippets issue or just extension snippets, I created a custom snippet real quick in Insider edition and that worked fine, however, all my snippets from extensions still are not loading in and do not work in insiders edition as of the 1.20.0 release. |
Installed extensions aren't shared between insiders and stable. So those you also need to 'double' install. You can check with the extensions viewlet: Select an extension, Select Contributions and check if there is a checkmark in the snippets column in the Languages section. |
All my extensions are double installed, in fact, when this issue arose I did not even have the stable version of VSC installed on either of my computers. Insiders has been stable enough for me for the last 6 months that I had deleted the Stable build. I only reinstalled it on my work machine when this happened so that I could test if they worked there and seeing that it did, I'm now working in that version until this issue is resolved with Insiders. The computer I'm typing this on (my personal MBP) still only has Insider's 1.20.0 installed, all 6 of my snippets extensions have all the checkmarks, and yet I have no snippets available for use. |
Hm, that's weird. What extensions are those? Do you get snippets from the builtin/default extensions. Like TypeScript -> Class Definition? |
Yeah, thanks I can now reproduce. This is a regression from a change I have made last week and affect 'some' snippets, depending on their file name. Working on a fix now |
There is actually two issues: one is a falsy assumption that the file name denotes the target files (when it's a json file) and then there seem to be extensions that use the same file to register snippets for different languages |
Just wanting to say, today's installed update fixed this issue. Thank you @jrieken for your help! |
Steps to Reproduce:
Gif showing that it works in regular VSC but not in newest update of Insider's edition:
https://monosnap.com/file/ptlhT48QGhBxvoeCRyRjwVh50WuYbG
When I noticed this problem I immediately tried on my other Mac that still had the previous version of Insider's on it and everything still worked there, as soon as I updated it, that one broke too.
Reproduces without extensions: Yes - Disabled all extensions except for the snippets extensions I'm using. Tried each one individually and none of them work anymore
The text was updated successfully, but these errors were encountered: