2-Pane-Layout in VSCode: Make Interactive Window visible when code is executed? #4448
Replies: 5 comments
-
I am not sure what you are calling "Interactive Window" (all VSCode windows/panels are "interactive"). I guess you are talking about something similar to what the VSCore R extension provides: {
"r.session.viewers.viewColumn": {
"plot": "Beside",
"browser": "Beside",
"viewer": "Two",
"pageViewer": "Two",
"view": "Two",
"helpPanel": "Two"
},
} I am pinging @jjallaire who is the one working on the VSCode extension (https://github.com/quarto-dev/quarto). |
Beta Was this translation helpful? Give feedback.
-
Currently we use the APIs of the R and Python extensions to execute code interactively. It seems logical that they would activate automatically but it seems like they don't? |
Beta Was this translation helpful? Give feedback.
-
I guess, I'm still look for the best kind of window management when developing interactively with Quarto and Python/R. :) Whenever I render the Quarto document, the Preview tab comes to the foreground, but when I execute some python or R code right after, the preview stays active and the focus doesn't jump back to the interactive python or r window, where the code is executed. To me it seems, as if an option to "autofocus" and change the focused editor-tabs, depending on where the evaluation of my code takes place could be a nice addition. |
Beta Was this translation helpful? Give feedback.
-
The matter is not really about "is it something to add or to be done or not?". |
Beta Was this translation helpful? Give feedback.
-
Closing this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I usually use a vertically split layout in viscose, when developing interactively.
On the left ist my Quarto document, on the right are the python and r interactive windows/consoles. Sometimes a Quarto or data or plotting preview is also in the right view.
It could be a nice option if, the interactive window would activate and become visible as soon as I execute some python or r code. Right now I usually have to select the interactive windows by mouse or keyboard shortcut, which feels a little cumbersome.
Beta Was this translation helpful? Give feedback.
All reactions