Open YusufSuleman opened 1 year ago
@YusufSuleman modify activationEvents in package.json like this: "activationEvents": [ "*" ],
@sonicwang1989 Still not working, nothing changed
@YusufSuleman, I had the same issue, just updated visual code and all it's working fine now 🎉
Same issue here. Gonna try to update?
Yes I found under Help menu there was an option to restart to apply pending update. Then it worked. I wonder if the project triggered vscode to recognize it had some new dependency, or if its just been that long for me?
I'm having the same issue. Tried with JS and TS, no dice. I'm using WSL2, if that makes any difference. The extension doesn't seem to be loaded at all.
Try using this engine:
"engines": {
"vscode": "^1.78.0"
}
Try using this engine:
"engines": { "vscode": "^1.78.0" }
This worked! Thank you! Any idea as to a more permanent fix?
Try using this engine:
"engines": { "vscode": "^1.78.0" }
This worked! Thank you! Any idea as to a more permanent fix?
I have no clue about that :/ I realize that the issue was that version. So I tried change on my addon in it and it worked. Really happy that these also help you
@YusufSuleman modify activationEvents in package.json like this: "activationEvents": [ "*" ],
Thank you for your method. It does work, but I would like to know why doing so can solve the problem?
Try using this engine:
"engines": { "vscode": "^1.78.0" }
Can u tell me how to add this config?
Try using this engine:
"engines": { "vscode": "^1.78.0" }
Can u tell me how to add this config?
It's in the package.json
. The generator will specify latest version of VSCode, so if you're not up to date the extension won't be activated. You can either chance engines.vscode
to the VSCode version you are on, or update your VSCode.
Hey, the issue still seems to persist. However when i changed the engine to the above mentioned one ^1.78.0
it seems to work. Any idea why this is happening?
Hey, the issue still seems to persist. However when i changed the engine to the above mentioned one
^1.78.0
it seems to work. Any idea why this is happening?
engines.vscode
indicates the version of vscode that your extension works on. The generator defaults to the latest version of vscode I believe.
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#engines
Hello, I am making an extension, if I run it, the extension doesn't even get loaded. It doesn't say that the extension is even activated, in the debug console. I have the default code generated by making a new typescript extension, I am using Arch Linux which was updated a few days ago.