dnSpyEx / dnSpy

Unofficial revival of the well known .NET debugger and assembly editor, dnSpy
GNU General Public License v3.0
6.25k stars 417 forks source link

Better Tab Management #272

Open MH1702 opened 7 months ago

MH1702 commented 7 months ago

Problem Description

Currently clicking on an element in the Assembly Explorer (that can be opened in a tab) overwrites the current selected tab. This is unexpected and disruptive. Even when "Right-Click > Open in new Tab" the right-click by itself will cause the current tab to be overwritten. This is self-contradictory behaviour and most likely not intended.

Proposal

Instead single-clicking on an element that can be opened in a tab should open a temporary tab that gets reused for each single-clicked element, while double-clicking should open a seperate proper tab. This is consistent with most IDEs like IntelliJ and Visual Studio (Code). Right-clicking by itself should never open a tab at all.

Alternatives

No response

Additional Context

dnSpy version: 6.4.1

cAttte commented 7 months ago

not sure if this is off-topic, but additionally: closing a tab always switches the view to the tab to its left, which is pretty annoying. this switch should only happen if the tab being closed is also the one being viewed