Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

sess integration lost when VS Code restores an R terminal

Aperta
#1,799 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
r, typescript, vscode

Direzione di ricerca

Start by reproducing the macOS sequence with r.createRTerm: restore VS Code while the R terminal remains open, then inspect the sess IPC error. Compare this with creating a fresh R terminal and with the arf and base R consoles. Done means sess reconnects after restoration and View() and plot() continue opening in VS Code rather than XQuartz.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

After reopening VS Code with an R terminal still present, sess may fail to reconnect. View() and plots then open in native windows instead of VS Code. This reproduces on macOS as described below.

  1. Open a directory in VS Code - be sure there are no active terminals.
  2. Create an R terminal r.createRTerm. [sess] Connected to VS Code should be printed. View() and plot() should work as expected.
Image
  1. Quit VS Code without closing the active R terminal. Or swap to a different directory workbench.action.openRecent (ctrl + r) without closing the active R terminal.
  2. Open VS Code again or ctrl + r back to the original directory, sess shows an IPC error.
Image
  1. Run the same commands as earlier. Now, XQuartz pops up instead.
Image

Originally posted by @grcatlin in #1794

As I mentioned earlier, I can fix it by killing the old terminal and then making a new R terminal. Oddly, I cannot reproduce this on Windows. The same error occurs using both arf (above) and the base R console.

Lingua principale
TypeScript
Stelle
1.2k
Fork
139
Merge medio
19h 46m
PR unite (30g)
26

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di REditorSupport/vscode-R

Tutte le issue di REditorSupport/vscode-R

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.