CodeEdit
CodeEdit copied to clipboard
🐞 "Close Tabs to the Right" also closes the tab it was used on
Description
When selecting "Close Tabs to the Right" on a tab, all tabs to its right, including the one on which the action was triggered, are closed.
CodeEdit:
https://github.com/user-attachments/assets/c5395d7e-f9dd-440f-a7bf-8f6743223393
To Reproduce
- Open multiple tabs.
- Right click on any tab (except the last one).
- Click Close Tabs to the Right.
Expected Behavior
The tab where the action was initiated should remain open, similar to how it works in Xcode. Only the tabs to its right should close.
Xcode:
https://github.com/user-attachments/assets/d2b15722-055c-4a71-a772-2889232653d7
Version Information
CodeEdit: [e.g. 0.0.x-alpha.y] macOS: [e.g. 13.2.1] Xcode: [e.g. 14.2]
Additional Context
No response
Screenshots
No response