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

R: support highlight for different R-related files #125

Closed
4 tasks done
Tracked by #1467
kevinushey opened this issue Feb 2, 2023 · 7 comments
Closed
4 tasks done
Tracked by #1467

R: support highlight for different R-related files #125

kevinushey opened this issue Feb 2, 2023 · 7 comments
Assignees
Milestone

Comments

@kevinushey
Copy link
Contributor

kevinushey commented Feb 2, 2023

For example:

  • DESCRIPTION
  • NAMESPACE
  • *.Rd
  • renv.lock

Do we need to think about highlight rules for R Markdown documents? Or will we lean on the Quarto extension for that?

@kevinushey kevinushey added this to the Internal Preview milestone Feb 15, 2023
@jennybc
Copy link
Member

jennybc commented Sep 25, 2023

DESCRIPTION (and other Debian control files) was addressed in #1140

@hadley
Copy link

hadley commented Oct 4, 2023

NAMESPACE is just regular R syntax so should be easy.

I don't think many people look at .Rd files directly, but some minimal highlighting for structure would be useful.

@jennybc
Copy link
Member

jennybc commented Oct 4, 2023

I think this is done.

@jennybc jennybc closed this as completed Oct 4, 2023
@jennybc jennybc reopened this Oct 4, 2023
@jennybc
Copy link
Member

jennybc commented Oct 4, 2023

Oops I should not close before #1479 gets merged.

@lionel-
Copy link
Contributor

lionel- commented Oct 5, 2023

NAMESPACE, DESCRIPTION, and .Rd files now look great!

@lionel- lionel- closed this as completed Oct 5, 2023
@lionel-
Copy link
Contributor

lionel- commented Oct 5, 2023

A nice improvement for non-users of roxygen2 would be to let Cmd+Enter execute lines of code in the example field.

Screen.Recording.2023-10-05.at.10.48.27.mov

Should I open an issue about this?

@jennybc
Copy link
Member

jennybc commented Oct 5, 2023

You could maybe add to #1410.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 30, 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

No branches or pull requests

5 participants