Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions extensions/r/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
{
"id": "r",
"extensions": [
".r",
".rhistory",
".rprofile",
".R",
".Rhistory",
".Rprofile",
Comment on lines +20 to +22

Copilot AI Jan 22, 2026

Copy link

Choose a reason for hiding this comment

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

The change completely removes support for lowercase file extensions (.r, .rhistory, .rprofile). While .R should be the default/preferred extension (first in the list), the lowercase variants should still be supported for backward compatibility. Many existing R files use lowercase extensions and would lose language support with this change. The extensions array should include both uppercase and lowercase versions, with .R listed first to make it the default.

Suggested change
".R",
".Rhistory",
".Rprofile",
".R",
".r",
".Rhistory",
".rhistory",
".Rprofile",
".rprofile",

Copilot uses AI. Check for mistakes.
".rt"
],
"aliases": [
Expand Down
Loading