Skip to content

Traverse sections of an R file when using "Rename in Scope" #15263

Description

@ronblum

Rename-in-scope now traverses chunks of R Markdown and Quarto files in source mode (#4961). However, this isn't the case for sections in an R file. This request is to enable it for this scenario, as well.

Example cribbed from #4961:

  1. Create an R Markdown or Quarto file with the following:
#----section_1--------
rename_this = 1
print(rename_this)

#----section_2--------
print(rename_this)
  1. Select the first occurrence of rename_this in the first section.
  2. Code -> Rename in Scope
    • Only the instances of rename_this in the first section are selected

The request is for the instance in the second section to be selected, as well.

Activity

  1. added
    new
    and removed
    new
    on Oct 2, 2024
  2. added this to the Mariposa Orchid milestone on Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions