Skip to content

Allow naming main .pde file in pde://sketch/base64/ schema #1213

@SableRaf

Description

@SableRaf

Most relevant area for this enhancement?

PDE

Feature to enhance

pde:// schema

Enhancement details

Enhancement description

Right now, when using pde://sketch/base64/<base64_encoded_content>, the main .pde file is always opened with a default auto-generated name like sketch_250816a.

There should be a way to explicitly specify the main tab name, similar to how additional tabs can already be defined with query parameters.

Example proposal:

pde://sketch/base64/pde=sketchName:<base64_encoded_content>

Benefits

  • Brings consistency with how secondary .pde files are already handled.
  • Accuracy with the original sketch naming.

Challenges

  • Need to decide on the syntax for naming the main tab.
  • Must stay backward compatible with existing links.

Additional context

Secondary tabs already support explicit naming via query parameters:

pde://sketch/base64/<base64>?pde=tab2Name:<base64>&pde=tab3Name:<base64>

The same flexibility should be extended to the main tab.

Would you like to help implement this enhancement?

No, I’m just suggesting the enhancement

Metadata

Metadata

Assignees

No one assigned

    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