REditorSupport / REditorSupport/vscode-R
Change default file extension from .r to .R
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
Hello,
Can you please consider changing the default file extension from .r to .R. While in most cases the difference is not important, the most common is the latter and there are some software that expect it - which can be problematic when it's not there.
For example, the starship shell prompt R module: https://starship.rs/config/#r . This expects to find a range of R related files (.R, .Rd, .Rproj etc) but won't work with .r . As there are no uses cases I know of that will work with .r but not .R, it makes sense to use .R as the default.
Thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the extension for where the default .r file extension is defined and trace the entry point that creates or names these files. Change the default to .R, then verify that the affected file-creation behavior and any existing tests use the new extension.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript, vscode
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100