So the tutorial to developing visual studio code extensions says to hit F5
and then command palette which is where I should see the hello world
command 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 command and I require some help as to troubleshoot. Let me know if any additional info is required.
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
3
Answers
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 command (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 found that the extensions required VsCode 1.74. Check the Log(Window) in the ‘Extension Development Host`.
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 command
snap refresh code
.