Skip to content

YAML filename autocompletion in Positron #883

@mattkerlogue

Description

@mattkerlogue

When editing an .R script or .qmd file Positron (like RStudio) has an autocomplete interface to help select files in your project folder/workspace.

Screenshot 2026-01-09 at 13 16 27

I was wondering whether it would be possible to enable something similar when editing Quarto YAML, as it would be rather useful to have this when editing _quarto.yml to list the chapters of a book for example.

Screenshot 2026-01-09 at 13 16 54

Aware of the globs but still think this would be useful in other parts of the YAML tree too, like sidebars/listings, theme/css, or include-before-body etc.

There is already YAML autocomplete support for keys and values. But admit that I don't know how difficult it would be to limit file autocompletion only under book: chapters: (and other relevant parts of the tree) since I can imagine having the file autocomplete turn up elsewhere when editing the YAML file could get very annoying. An alternative would be to activate the autocomplete/file lookup by a shortcut key.

Apologies if not the right repo (and if there's a shortcut key but I don't know it).

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