infinity1207/angular2-switcher

Improvement: Switch to file in the same tab, helping the user keep a clear overview of tab order

Opened this issue · 1 comments

Whenever I work with several components at the same time and use this extension, my tabs get all jumbled, instead of keeping .ts/.html/.css tabs grouped by component, whenever switching to a file which isn't currently open, it gets added at the end of my tab list.

For this reason, I would much prefer to have a configurable option to use the same tab per component, and switch between its' files in the same tab (without opening new tabs which causes the jumbled mess). This improvement would be a godsend and make this extension even more user-friendly and indispensable when working on Angular projects in VS Code.

If the file that is being viewed hasn't any unsaved changes, this desired behavior should never cause any problems. If it does, another option could decide whether the viewed file gets autosaved before being closed/replaced, or whether the user is prompted to save or dismiss the current changes.

I've been looking for an extension that could do this. If anyone knows of any that would be amazing.