Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks done
hamishwillee opened this issue Oct 16, 2024 · 0 comments
Open
4 tasks done

Comments

@hamishwillee
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant