Skip to content

Positron's help panel is not used when F1 is invoked #580

Closed
@andrewheiss

Description

@andrewheiss

Currently, in VS Code, pressing F1 inside a function name opens the documentation in a special "Quarto: Help" panel in the File Explorer:

Image

That's great when using VS Code because it doesn't have a dedicated help panel like RStudio does.

However, in the spirit of RStudio, Positron does have a dedicated help panel—when pressing F1 in a regular R script in Positron, the documentation opens there:

Image

When pressing F1 in a Quarto file in Positron, though, nothing happens in the Positron help panel. Instead, the documentation appears in the custom Quarto help panel:

Image

There's an issue at Positron tracking this: posit-dev/positron#4097 and it's part of a larger push for better Quarto improvements (posit-dev/positron#4858). I figured that F1 wasn't doing anything at all (I'd forgotten about Quarto's custom help panel), and others likely thought the same, but a recent comment posit-dev/positron#4097 (comment) discovered that F1 is actually working as expected in Positron—it's just invisible if the custom Quarto help panel is hidden.

So the underlying issue seems to be that Quarto's VS Code extension is hijacking F1 inside Positron

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions