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
Can't enable one snippets extension #112532
Comments
What does that mean? |
letting @sandy081 comment |
Can you please try on a different user data directory, eg:
|
@sandy081 followed that steps (
Will it help if I link to the repo of the extension? I have another extension with the same exact config and that works (not sure why). |
Hmm, let's try it on clean slate by also pointing to a different extensions dir |
This is what I tried: code --user-data-dir /tmp/user-data --extensions-dir /tmp/extensions I was able to install the extension, but none of the available snippets on any of the contributed file types were suggested. |
So is this extension enabled after installing? |
Seems this extension is disabled in environment. Can you please check if you have following environment args set up anywhere (in your user env or while launching VS Code)
|
but wouldn't that disable all extensions and not just one? |
If you provide extension id with |
Ok. |
Can you please enable log level to trace using command |
Hello @sandy081 |
Thanks for providing the info. Sorry for not trying this before and I can see the same behaviour. It seems there is an error while activating this extension Hence this extension is not loaded and shown disabled. @alexdima There is no error message shown to the user in this case and none of our UI mention about this. @danielo515 You have to remove the activation event and publish it again @joaomoreno Shall this be validated while publishing ? |
This was an intentional decision from @egamma and @chrisdias . A broken extension does not show an error message. The error message is shown to the user only when the user is doing extension development. |
Thanks @alexdima for info. |
This used to work before. Thank you very much. |
Removed and published, same problem. |
@danielo515 You are developing an extension, yet you are loading and testing it as if you were a consumer of the extension from the marketplace. VS Code cannot realize that you are actively developing the extension unless you use the |
Ok, I have to remove it completely. Now it works. |
Issue Type: Bug
Hello,
I have one extension that I can not enable, and I don't see a reason why.
This is the extension ID: danielo515.danielo-node-snippets
I would love to see any error message or any hint telling me why.
Regards
VS Code version: Code 1.52.0 (940b5f4, 2020-12-10T22:46:53.673Z)
OS version: Darwin x64 20.1.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (107)
A/B Experiments
The text was updated successfully, but these errors were encountered: