[Feature]: Allow launch code editor for source doc of current page when serving locally #4293
Open
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
- Follow our Code of Conduct
- Read the docs.
- Read the Contributing Guidelines.
- Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.