JGD sometimes requires VS Code to reload, not R restart to take effect
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- r, typescript
- Domain
- developer-experience, tooling
Research direction
Look at the plot backend switching logic in the extension, likely in src/plotViewer or related modules. The issue is that switching from 'standard' to 'jgd' after an R terminal restart fails to establish a renderer connection. Start by tracing where the warning is emitted and how the connection is managed. Check if the JGD renderer needs re-initialization after an R restart. Run the extension in debug mode to reproduce the warning and see what state is missing.
Written by the indexing model from the issue text.
Description
@grantmcdermott This warning message appears when I switch plot back end from "standard" to "jgd" after restarting R terminal.
> Warning message:
[sess] Plot backend "jgd" was requested but no renderer connection is available. Falling back to the standard plot viewer.
JGD then only takes effect after restarting VS Code.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 16h 16m
- Merged PRs (30d)
- 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from REditorSupport/vscode-R
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
REditorSupport/vscode-R#1687 · 4 comments · 3 reactions ·
-
feature-request
Difficulty 4/5 3-5 days Newbie friendliness 45/100
REditorSupport/vscode-R#1763 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
REditorSupport/vscode-R#1755 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
REditorSupport/vscode-R#1751 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
REditorSupport/vscode-R#1749 · 5 comments · 3 reactions ·
All issues in REditorSupport/vscode-R
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
bcgov/bc-wallet-mobile#4761 · 1 comment ·
-
external-issue to-triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
area-deployment area-integrations triage:bot-seen
Difficulty 2/5 Half a day Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
refactor
Difficulty 2/5 1-3 hours Newbie friendliness 84/100