REditorSupport / REditorSupport/vscode-R

R Interactive in tab changes title after reopening

Open
#1,571 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
1.2k
Forks
139
Avg merge
2h 46m
Merged PRs (30d)
5

Description

Describe the bug

I like to drag the R Interactive terminal from the bottom dock to a tab:

image

If VS Code is closed and opened again on the same folder, and if the R interpreter is configured to be radian, after reopening the restored tab is titled "python" – maybe because radian is implemented in Python?

image

This does not happen if the terminal is left in the bottom dock, and it does not happen if the standard R interpreter is used.

To Reproduce
Steps to reproduce the behavior:

  1. Configure the R interpreter to be radian
  2. Open an R interactive terminal
  3. Drag it to a tab
  4. Close VS Code
  5. Open the same folder again in VS Code
  6. The name of the R interactive terminal tab has changed.

Can you fix this issue by yourself? (We appreciate the help)

No

Expected behavior
The tab should have the name "R Interactive" after reopening.

Environment (please complete the following information):

  • OS: Debian 12.5
  • VSCode Version: 1.94.2
  • R Version: 4.4.1
  • vscode-R version: 2.8.4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the R Interactive terminal configured to use radian, then trace how the restored tab is named after VS Code reopens the same folder. Compare the restoration path with the bottom-dock case and the standard R interpreter; done means the restored tab remains titled "R Interactive".

Written by the indexing model from the issue text.

Assessment

Tech stack
python, r, typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.