REditorSupport / REditorSupport/vscode-R

When the help panel or data.frame panel are shown, the terminal panel can not be maximized.

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

When the panel of help or data.frame is shown, I can not maximize the terminal panel.
Here is an example:
image
When your the layout of vscode is like the image shown on the above, than you can not maximize the terminal panel.
If you closed the help panel, then you can maximize the terminal panel.

The same issue is occured when you are viewing a data.frame.

Sometimes, I would like to check the terminal output completely. Then I will maximize the terminal panel to see the complete output in the terminal. However, it is not worked always.

To Reproduce

Please see the description of the bug.

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

No

(If applicable) Please attach setting.json

// R.exe path for windows
"r.rterm.windows": "",

// R path for Mac OS X
"r.rterm.mac": "",

// R path for Linux
"r.rterm.linux": "$HOME/mambaforge/envs/R431/bin/radian",

// R command line options (i.e: --vanilla)
"r.rterm.option": ["--no-save", "--no-restore"],

// An optional encoding to pass to R when executing the file, i.e. 'source(FILE, encoding=ENCODING)'
"r.source.encoding": "UTF-8",

// Keeping focus when running
"r.source.focus": "editor",

// Use active terminal for all commands, rather than creating a new R terminal
"r.alwaysUseActiveTerminal": false,

// Use bracketed paste mode
"r.bracketedPaste": true,

// Enable R session watcher
"r.sessionWatcher": true,

// Delay in milliseconds before sending each line to rterm (only applies if r.bracketedPaste is false)
"r.rtermSendDelay": 8,

Expected behavior
I would like to maximize the terminal panel when any panels are shown.

Screenshots
Please see the description of the bug.

Environment (please complete the following information):

  • OS: Linux(remote mode)
  • VSCode Version: 1.85.1
  • R Version: 4.3.2
  • vscode-R version: 2.8.2

Additional context
Nothing

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

No source file or test is named. First reproduce the layout with the help or data.frame panel visible and the terminal panel open in VS Code, using the reported Linux remote environment; determine whether the behavior is controlled by vscode-R or VS Code itself. Done means the terminal can be maximized while either panel remains shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript, vscode
Domain
desktop, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.