Skip to content
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

"Your First Extension" quickstart guide broken out of the box #213338

Closed
japem opened this issue May 23, 2024 · 2 comments
Closed

"Your First Extension" quickstart guide broken out of the box #213338

japem opened this issue May 23, 2024 · 2 comments
Assignees

Comments

@japem
Copy link

japem commented May 23, 2024

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.89.1
  • OS Version: OSX 14.3

Steps to Reproduce:

Follow the instructions in the extension quickstart guide up to the "Run the Hello World command from the Command Palette" step.

The "Hello World" command doesn't show up. I can't find any reference to my extension anywhere in the debug window (extension view, output logs, etc.); I'm not sure exactly where this would be expected to show up, but it's nowhere to be found.

  • yo version - 5.0.0 (latest)
  • generator-code version - 1.9.0 (latest)
@japem
Copy link
Author

japem commented May 23, 2024

The issue was that the extension code wasn't at the top level of my current VSCode window. It worked when I re-opened the extension folder in its own window. This issue can be closed, but it might be nice to mention in the guide that this is required. IMO it's not intuitive that this is required if you're launching it directly from extensions.ts as the guide says.

@roblourens
Copy link
Member

Sorry for the confusion. The last step of the yo generator opens vscode to the correct folder. So if someone follows those steps, they should end up in the right place.

@microsoft microsoft locked and limited conversation to collaborators Jul 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants