skip to Main Content

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.

3

Answers


  1. 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.

    Login or Signup to reply.
  2. I had the same problem and found that the extensions required VsCode 1.74. Check the Log(Window) in the ‘Extension Development Host`.

    Login or Signup to reply.
  3. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search