Skip to content

Surface MakeCode: Create a share link in VS Code's share menus #146

@joyceerhl

Description

@joyceerhl

VS Code surfaces extension-contributed sharing links in dedicated Share menus throughout our product (issue). Here are some examples:

image
image

I noticed that MakeCode offers a command to create a link to your MakeCode project and this command seems like a good fit for the Share menus, as discussed with @abchatra on Teams.

The Share menus are currently proposed API but I expect to finalize them with the April release (api proposal issue), after which they will be available for MakeCode to use if desired.

To align with the other commands that are exposed, I would also suggest minor tweaks to the link behavior:

  • Rename from Create a share link to Copy MakeCode Project Link (this clarifies that the link will be specific to MakeCode since it will coexist alongside other sharing links)
  • Copy the link directly to the user's clipboard instead of showing it in the output channel
  • Only show this command when the current project is a MakeCode project (today it appears in the command palette even when the current folder is not a MakeCode project, and shows an error message when used)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions