Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide warning to stop tab loss when switching git branches #5

Open
metalogica opened this issue Mar 24, 2024 · 1 comment
Open

Provide warning to stop tab loss when switching git branches #5

metalogica opened this issue Mar 24, 2024 · 1 comment
Labels
asking community The feedback of community is needed

Comments

@metalogica
Copy link

It would be handy if you could get a warning to ask if you want to continue to pop and delete a saved tab group when you switch tabs. Otherwise you will lose some tabs.

Example

  • Create file_1 and file_2 B on branch_a.
  • Switch to branch_b where only file_1 exists.
  • Run the pop and delete tab group command.

The reference to file_1 is lost.

@iulianraduat
Copy link
Owner

Hi @metalogica,

I can add an option for this and when activated to display a list with all not found files and the message "Do you want to continue?"?

If the user choose yes, then the missing files will be "lost".

But if the user choose no then he will not lose the files but he will also not be able to display the editors. So he is kind of stuck.

Firstly, I think that an user should not do pop and delete if he does not want to "lose" files which no longer exists.
Secondly, I think that as long the files are not there it makes no sense to get stuck if you anyway want to delete this saved group.
Thirdly, the list of saved groups are in stored in a file in .vscode so you can push it in git and so to be able to keep it synced with the branch where should be used.

I would like to know what think the community about this topic.

Cheers,
Iulian

@iulianraduat iulianraduat added the asking community The feedback of community is needed label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
asking community The feedback of community is needed
Projects
None yet
Development

No branches or pull requests

2 participants