-
Notifications
You must be signed in to change notification settings - Fork 37.2k
Description
The new terminal profiles are fantastic! It would be great if extensions could automatically add entries to the list of profiles. This would essentially be a similar feature to Windows Terminal fragments.
Here is a use-case: the Julia extension adds a command Julia: Start REPL, and that then starts a Julia REPL in a new terminal. In my mind, with the new terminal profile UI, that command should really just appear as another terminal profile in the UI, alongside all the other terminal profiles that show up in the terminal drop down. So essentially I would like to see the ability for our extension to add an entry in this list
that reads New Julia REPL, and then calls a function in our extension that executes all the necessary steps to start a new Julia REPL in a terminal window.
Ideally that would also help with a "restart" scenario. Right now, if a user starts a new Julia REPL, has that open and then restarts VS Code, VS code starts a new shell that wasn't open in the previous instance. With this feature idea here, I could imagine that VS code at shutdown "remembers" which terminal profile was used to create which terminal instance, and then at restart uses the correct terminal profile to recreate the same terminal that was open in the previous instance.
