Skip to content

Add support to navigate to cross references with Quarto edit button. #14391

Open

Description

@olivroy

Currently, there is no good way to navigate easily to a part of a large Quarto document or Project.

There was an issue with the Edit button in the viewer pane that was fixed in 2024.04.0+544 (#14325)

However, this button takes us to the last place where our cursor was (if the file is already open).
I would argue there were already ways to do that. With the fuzzy finder (Ctrl / Cmd + .) or just clicking on the file in the tabs, so hence my request for an enhancement.

However, when reviewing a document in the viewer pane, there is often no good way to navigate to a specific place in the source, starting from the rendered version. (I really like a feature when editing LaTeX in Overleaf that double clicking in the PDF rendered version takes you the the source location and vice-versa)

As a reference, for reveal.js presentations, the Edit button in the presentation pane takes you back to the source document
at the correct location (except for when there are callouts (#11614)

An alternative approach would be to enhance the fuzzy finder for Quarto files, similar to bookdown. (FR filed at #13205) solving one would probably make the other redundant.

Similar to #9043

Thanks for considering and for RStudio.

Questions:

  1. Is there a sense of position in the viewer pane? Maybe could just work when clicking on the cross reference, as it creates a new URL?

Originally posted by @olivroy in #14325 (comment)

Activity

  1. changed the title [-]FR: Add support to jump to cross references with Quarto edit button.[/-] [+]Add support to jump to cross references with Quarto edit button.[/+] on Mar 11, 2024
  2. jthomasmock commented on Mar 11, 2024

    @jthomasmock
    Contributor

    @ronblum - would you mind confirming this behavior is still present in the dailies now that @kevinushey has merged some changes to the Edit/Sync for Quarto documents.

  3. changed the title [-]Add support to jump to cross references with Quarto edit button.[/-] [+]Add support to navigate to cross references with Quarto edit button.[/+] on Mar 11, 2024
  4. ronblum commented on Mar 11, 2024

    @ronblum
    Contributor

    This is still the behavior: The cursor goes to the "current" location for presentation slides but not the current display for individual files.

  5. added this to the Product Backlog milestone on Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions