REditorSupport / REditorSupport/vscode-R

Global Environment Panel (Workspace) not updated after session restart

Open
#1,240 4 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

Let's say, I enter the code x <- 5 into the terminal, x appears on the global environment / workspace panel:

image

When I now run following code in the terminal:

> startup::restart()
> x
Error: object 'x' not found

everything as expected so far, but even after manual refresh, the x is still shown in the global environment / workspace panel.

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

Reproduce the issue by assigning x in the terminal, running startup::restart(), and checking the global environment/workspace panel after a manual refresh. Trace the panel's refresh and session-restart handling, using the terminal and panel behavior described in the report as the entry points. Done means objects removed by the restart no longer remain visible in the panel after refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript
Domain
developer-experience, tooling
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.