Close document tabs to the right or left of the current document.
Right-click on the current document's tab and select "Close Tabs to the Left" to close all tabs to the left "Close Tabs to the Right" to close all tabs to the right and select which one you'd like to use.
Originally forked from BIll Pratt's VS pre-VS 2022 extension, with the main modification is that left appears first, due to English-speaking countries reading LTR and other apps using the same UI order.
Find an issue, file it in the repo where you can also find the source code: https://github.com/jamespfluger/CloseTabsToLeftAndRight
Forked from billpratt/CloseTabsToRight