quarto-dev / quarto-dev/quarto
Feature Request: Open source file editor for current page in preview
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
I would love to be able to navigate my website using quarto preview in the preview window and to be able to open the source file of the current page.
One idea would be to hijack the "Edit this page" feature so that, when clicked on inside VS Code, it actually finds the source file and opens the editor.
I do think I'd prefer to have a gesture (clicking on a link or an injected button, or running a VS Code command) rather than to have this sync by default, but I could see that also being helpful. If syncing were automatic, the source file would open in VS Code's preview mode as I move around in the website preview.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how quarto preview serves the current page and how the existing “Edit this page” gesture is handled inside VS Code. Compare the proposed link, injected-button, command, and automatic-sync approaches, then define one interaction and verify that navigating in the preview opens the corresponding source file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100