Add mechanisms to create a session from any registered runtime #6308
Labels
area: console
Issues related to Console category.
area: ui
Issues related to UI category.
enhancement
New feature or request
Milestone
We'll need to make the following changes to the services:
runtimeSessionService
to check all active sessions:-
getConsoleSessionForRuntime
: Return the active session for the provided runtime id, if one exists-
getConsoleSessionForLanguage
: Return the active session for the specified language id, if one existspositronConsoleService
positronConsoleInstance
See docs for implementation details for panel views: https://code.visualstudio.com/docs/getstarted/getting-started#_access-the-terminal-from-the-panel-area
The UI will require the following new components:
runtimeSessionService.startNewRuntimeSession
and makes the new runtime session the active runtime. When a new runtime session is created we should also have a new console instance for the session.languageRuntimeService.registeredRuntimes
.We'll want to restrict the number of sessions a user can create to 15 (an arbitrary number for now). We may want to make this a setting option that the user can change.
Testing
The text was updated successfully, but these errors were encountered: