Skip to content

Commit 8ae7954

Browse files
author
Fred Wu
committed
Update change log and remove "no text editor active" warning
1 parent 44985b4 commit 8ae7954

2 files changed

Lines changed: 8 additions & 11 deletions

File tree

CHANGELOG.md

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

3+
## 3.0.6 - 2026-03-17
4+
5+
* Added later package to scan and update workspace in a later time.
6+
* Removed "No text editor active." warning pop-up.
7+
38
## 3.0.5 - 2026-01-04
49

510
### Major
11+
612
* Added a UI button to refresh data viewer.
713

814
### Minor
15+
916
* Simplified data viewer loading overlay text.
10-
* Fixed completion trigger `$` that may not show anything, ie from R6 or R7. For a package like `torch`, if a method was not implemented, and resulted in an error, the completion would not suggest the method.
17+
* Fixed completion trigger `$` that may not show anything, ie from R6 or R7. For a package like `torch`, if a method was not implemented, and resulted in an error, the completion would not suggest the method.
1118
* Fixed data viewer if an object is an environment.
1219

13-
14-
1520
## 3.0.2 - 2025-11-17
1621

1722
### Minor
@@ -26,6 +31,4 @@
2631
* Added an option to launch the R terminal within the side editor area.
2732
* Updated language server behavior to start only when an R-related file is opened and shut down when all files are closed.
2833

29-
30-
3134
<!-- generated by git-cliff -->

src/rmarkdown/chunks.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,6 @@ export function getChunks(document: vscode.TextDocument): RMarkdownChunk[] {
144144
}
145145

146146
export function getCurrentChunk(chunks: RMarkdownChunk[], line: number): RMarkdownChunk | undefined {
147-
const textEditor = vscode.window.activeTextEditor;
148-
if (!textEditor) {
149-
void vscode.window.showWarningMessage('No text editor active.');
150-
return;
151-
}
152-
153147
// Case: If `chunks` is empty, return undefined
154148
if (chunks.length === 0) {
155149
return undefined;

0 commit comments

Comments
 (0)