nguyenngoclongdev / vs-terminal-keeper

Easily save and recall previous terminal sessions, create new sessions, and edit or delete existing ones.
https://marketplace.visualstudio.com/items?itemName=nguyenngoclong.terminal-keeper
MIT License
18 stars 2 forks source link

Focus specific Terminal #6

Closed dawosch closed 3 months ago

dawosch commented 10 months ago

Please describe feature/problem details and solution you'd like. I have a terminal keeper profile with 4 terminals splittet into 2 groups. The default behavior ist that the focus is on the last group when the session is activated / on vscode startup. But i want to specify which groups/terminal should be focused,

Describe alternatives you've considered Add a "focus" attribute as boolean to define what terminal should be focused on startup.

nguyenngoclongdev commented 3 months ago

@dawosch Sorry for the late reply. Because due to Visual Studio Code (VSCode) API limitations, I currently don't have a way to implement this functionality. Hopefully, in the future, the VSCode API will support this feature.

xgdgsc commented 4 weeks ago

Then what's focus option for?

nguyenngoclongdev commented 4 weeks ago

Hi @xgdgsc,

Sorry, I forgot to update the status of this issue. In the recent update, I released the 'focus' feature, which allows you to choose which terminal will be focused when a session is loaded at startup.