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

Remove .qmd and .Rmd from R_DOCUMENT_SELECTORS #5496

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

juliasilge
Copy link
Contributor

Addresses #3157

Having these kinds of files in R_DOCUMENT_SELECTORS does not actually do anything, since the R LSP cannot directly handle these kinds of files. Instead, we handle these files through the Quarto extension, which makes temporary .R virtual documents for us to deal with.

QA Notes

The LSP should still correctly handle R Quarto and .Rmd files, for example, via statement range execution and hover help.

@juliasilge juliasilge marked this pull request as ready for review November 25, 2024 21:59
Copy link
Collaborator

@jmcphers jmcphers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and the LSP is healthy in my tests.

image

@juliasilge juliasilge merged commit 9a5a5a3 into main Nov 26, 2024
4 checks passed
@juliasilge juliasilge deleted the update-r-document-selectors branch November 26, 2024 01:39
@github-actions github-actions bot locked and limited conversation to collaborators Nov 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants