Skip to content

"Export to CodePen" opens HTML file in VS Code instead of browser #107

@OliverJAsh

Description

@OliverJAsh

I have configured VS Code as the default application for HTML files, because that's usually what I want. However this means that "Export to CodePen" doesn't work. It opens a codepenexport.html file in VS Code but I think it needs to open in the browser to work.

It looks like the code is here:

await vscode.env.openExternal(exportUri);

Perhaps we can instruct the open command to use the default browser?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions