Introducing Multiple Console Sessions! #6712
Replies: 8 comments 13 replies
-
Is there a way currently (or plans to have a way) to launch new consoles programmatically? I'm specifically thinking of some equivalent to |
Beta Was this translation helpful? Give feedback.
-
This doesn't seem to work with an SSH connection right now. I see all the UI for starting a new session, but nothing happens when I try to start one. |
Beta Was this translation helpful? Give feedback.
-
With multiple R consoles open, tooltips for function arguments are repeated. |
Beta Was this translation helpful? Give feedback.
-
In dark theme, the left button is brighter than the right one :) ![]() But in light theme, they both have the same color. ![]() |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Awesome feature! |
Beta Was this translation helpful? Give feedback.
-
During the past few days of trial, I observed a phenomenon that might be difficult to reproduce, but I’ve seen it more than once: After this series of actions, I was unable to create any new R sessions, even though the multi-session console was enabled. Positron_mc_cantstartfeedback.mp4And I also can not delete the existed R session: CantDeleteSession.mp4 |
Beta Was this translation helpful? Give feedback.
-
Thank you so much to everyone here who has been willing to try out the new experimental support for multiple console sessions! 🙌 I want to highlight that the new release available today at https://github.com/posit-dev/positron/releases/tag/2025.04.0-173 includes some major improvements to this feature, especially related to LSP management (diagnostics, completions, outlines, etc). If you are able to get this new release and continue trying out multisession consoles, that would be incredibly helpful to us. I do want to highlight there are still some known issues that we are continuing to address. You can see all our issues on this feature, but I especially want to let you know that we still are addressing problems around:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
You’ve been asking for the ability to have more than one console session in Positron (#3173) and we’ve been hard at work making this happen! The ability to have multiple console sessions for different runtimes or environments is now ready for testing from a larger audience. We’d love for you to try it and let us know what you think!
You can try out the new feature in the 2025.04.0-64 pre-release build.
On this page you’ll learn how to enable this experimental feature and how to manage multiple console sessions.
Note
We are currently actively working on how multiple console sessions interact with diagnostics/completion for your R/Python code. Be aware that as of build 2025.04.0-64, your diagnostics will be generated using the first console that was created. Follow along at #6310 for improvements in this area!
Enabling the Feature
By default, the ability to have more than one console session is disabled for now. To try out the feature, go to Positron’s settings and search for
console.multipleConsoleSessions
.If you like editing the settings JSON file, you can add
”console.multipleConsoleSessions”: true
to the file.Once the feature has been enabled, reload Positron via the
Reload Window
command.Creating a New Console Session
To create a new console session, click on the
+
icon button in the console tab list. This will launch a new quick pick menu where you can select the runtime for the new console session.You can also create a new console session by clicking on the
New Session...
entry in the session switcher which will launch the same quick pick menu.Note
we have limited the number of console sessions you can have running at the same time to 15 while this experimental feature is in development.
Deleting a Console Session
If you have multiple console sessions running, you can delete a console session by hovering over the console session entry and then clicking the
Trash
icon button in the console tab list.If you have only one console session running, you can delete it by clicking on the
Trash
icon button in the console pane action bar.Switching Between Console Sessions
To switch between console sessions, click on the console session entry in the console tab list.
You can also switch between console sessions by clicking on the session switcher in the top right and selecting the console session you want to switch to from the list of running console sessions.
Console Session Status
When you have more than one console session running, you can see the status of each console session in the console tab list.
A console session can be in one of the following states:
Console Session Information Button
To see information about the active console session, click on the “Info” icon button in the console pane action bar. This includes shortcuts to the relevant output channels for that session.
Feedback and What’s Next
Before this feature moves out of experimental status we’d love to hear your feedback on how this feature is working for you. Please let us know if you encounter any issues or have any suggestions for improvements.
If you like what you see in this feature and want to give some feedback, please leave a comment here!
Beta Was this translation helpful? Give feedback.
All reactions