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

Prompt to install Quarto extension when working with Qmd or Rmd files #3019

Closed
jmcphers opened this issue May 6, 2024 · 3 comments
Closed
Labels
area: core Issues related to Core category. area: quarto Issues related to Quarto category. enhancement New feature or request

Comments

@jmcphers
Copy link
Collaborator

jmcphers commented May 6, 2024

Via @wch

It would be great if the user didn’t have to go out and find an extension for Positron to recognize Rmd files. Or at least Positron should direct the user to download the appropriate extension if they open the file.

I am pretty sure we could do this cheaply because there is already infrastructure to prompt users to install an extension to handle the file type they just opened.

/**
* Prompt the user to either install the recommended extension for the file type in the current editor model
* or prompt to search the marketplace if it has extensions that can support the file type
*/
private promptImportantRecommendations(uri: URI, model: ITextModel, extensionRecommendations?: IStringDictionary<IFileOpenCondition[]>): void {
if (model.isDisposed()) {
return;
}

@jmcphers jmcphers added the enhancement New feature or request label May 6, 2024
@juliasilge juliasilge added area: quarto Issues related to Quarto category. area: core Issues related to Core category. labels May 6, 2024
@juliasilge
Copy link
Contributor

We are pretty sure that no one (?) sees this in Positron and we aren't sure why at the moment; this may be worth a time boxed investigation sooner rather than later.

@juliasilge juliasilge added this to the Release Candidate milestone May 6, 2024
@juliasilge
Copy link
Contributor

This came up in usability testing with @t-kalinowski.

@juliasilge
Copy link
Contributor

We bundle the Quarto extension now so this is no longer a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues related to Core category. area: quarto Issues related to Quarto category. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants