Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 7510412

Browse files
committed
Use REditorSupport.r as ID for R extension
1 parent cfdeaa3 commit 7510412

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.48.0 (Unreleased)
4+
5+
- Use REditorSupport.r as ID for R extension
6+
37
## 1.47.0 (Release on 13 October 2022)
48

59
- Quarto: Create Project command for creating common project types

src/providers/cell/executors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ const pythonCellExecutor: CellExecutor = {
195195

196196
const rCellExecutor: CellExecutor = {
197197
language: "r",
198-
requiredExtension: ["reditorsupport.r", "Ikuyadeu.r"],
198+
requiredExtension: ["REditorSupport.r", "Ikuyadeu.r"],
199199
requiredExtensionName: "R",
200200
requiredVersion: "2.4.0",
201201
isYamlOption: isYamlHashOption,

src/providers/preview/preview-env.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ export class PreviewEnvManager {
9797
}
9898

9999
// QUARTO_R
100-
const rExtension = extensions.getExtension("Ikuyadeu.r");
100+
const rExtension =
101+
extensions.getExtension("REditorSupport.r") ||
102+
extensions.getExtension("Ikuyadeu.r");
101103
if (rExtension) {
102104
const rPath = workspace.getConfiguration("r.rpath", workspaceFolder?.uri);
103105
let quartoR: string | undefined;

0 commit comments

Comments
 (0)