CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

🐞 "Close Tabs to the Right" also closes the tab it was used on

Open LeonardoLarranaga opened this issue 1 year ago • 0 comments

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

  1. Open multiple tabs.
  2. Right click on any tab (except the last one).
  3. 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

LeonardoLarranaga avatar Oct 12 '24 02:10 LeonardoLarranaga