Skip to content

[Feature]: Allow launch code editor for source doc of current page when serving locally #4293

Open
@hamishwillee

Description

Is your feature request related to a problem? Please describe.

When I am fixing a bug locally it is sometimes hard to find the source document I need to edit. Especially when I have hundreds of pages in my docs.

Describe the solution you'd like

Copy the Mozilla Developer Network solution (yari).

For a locally served page, the top of every page gets a link "Open in code editor". In the source tree you can specify a file .EDITOR, which in my case contains the text code.

When I select the link for a page, VS Code is launched with the source of that page.

This is very much faster than navigating source when I am editing documents and navigating between them.

Describe alternatives you've considered

No response

Additional context

No response

Validations

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthas-workaroundHas workaround, low priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions