So the tutorial to developing visual studio code extensions says to hit F5
and then mand palette which is where I should see the hello world
mand given by this default code for extension. This is the repository for the default code generated by following the tutorial. I do not see the mand and I require some help as to troubleshoot. Let me know if any additional info is required.
So the tutorial to developing visual studio code extensions says to hit F5
and then mand palette which is where I should see the hello world
mand given by this default code for extension. This is the repository for the default code generated by following the tutorial. I do not see the mand and I require some help as to troubleshoot. Let me know if any additional info is required.
- Instead of rushing to your own, get started from the official ones, github./microsoft/vscode-extension-samples – Lex Li Commented Oct 20, 2022 at 21:19
-
I see @LexLi but this is entirely the code generated by
yo
module. If I do start with some other then how do I find one which is written in JavaScript and not type script – Harsh Prakash Agarwal Commented Oct 20, 2022 at 22:11 -
1. It is not clear whether the
yo code
bits are up-to-date. 2. Via that GitHub repo you can actually connect to the Microsoft team behind extension API. – Lex Li Commented Oct 20, 2022 at 23:25 - I see @LexLi I can start from here 'github./microsoft/vscode-extension-samples/tree/main/…' – Harsh Prakash Agarwal Commented Oct 21, 2022 at 5:57
- 1 Does this answer your question? Why No Matching Commands when I init my first vscode extension? – bcoughlan Commented Jan 21, 2023 at 0:12
5 Answers
Reset to default 4I had the same problem and found that the extensions required VsCode 1.74. Check the Log(Window) in the 'Extension Development Host`.
During development the extension will only live in the "guest" window that appears when you start debugging - this is where you should be looking for the contributed mand (or anything else done by the extension).
The extension will appear in your VSCode instance if you install it - either by packaging it and installing it locally or by publishing it to the Extension Marketplace and then installing it from there.
Edit: I pulled your repo and ran the extension. Everything is working as expected. You're probably missing something.
I had the same problem and when I go to help there I see restart to update. I just clicked on that tab and vs code restarted. After that I'm able to see the Hello World in mand palette.
So try updating your VS Code or check help tab is there any updation required.
I had the same issue, but fixed it by updating VSCode. I'm on Ubuntu and have VSCode installed via snap. I had to make sure all VSCode processes were closed then ran the mand snap refresh code
.
Check the version of vscode in package.json. It should match the vscode application version you are running.
"engines": {
"vscode": "^1.92.0"
},