Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any option to make single-clicking in the Assembly Explorer not update the current tab/window? #399

Open
jimbobmcgee opened this issue Jan 16, 2025 · 3 comments

Comments

@jimbobmcgee
Copy link

jimbobmcgee commented Jan 16, 2025

Description

Whenever I click an item in the Assembly Explorer, the current tab updates to show the disassembly of the item clicked. This is true whether I am simply trying to expand/collapse the tree, or if I am right-clicking for the context menu. This makes it very easy for me to lose track of where I am, especially when trying to deep-dive into an unknown assembly.

I would prefer it if simply navigating the tree did not update the tab, and for double-click to be the action which opens the item and/or updates the current window.

I'm new to dnSpy (and I appreciate that is very much a personal preference) so, if the option already exists, please let me know what/where and close this out. Otherwise, could such an option be considered for implementation?

(I did look through the options dialog; the closest I got was Assembly Explorer > Single-click expands nodes, but it didn't seem to make a difference...)

@omlk
Copy link

omlk commented Jan 20, 2025

I support it(@jimbobmcgee). I also haven't found any information anywhere on how to change this behavior. I'll also add that it also updates the tabs when you select a specific method in the tree and changes the title in the tab header to the name of the method, which is very confusing as to which class was opened before.

@omlk
Copy link

omlk commented Jan 20, 2025

Bookmarks are not saved when you close DNSPY and reopen it.

@jimbobmcgee
Copy link
Author

jimbobmcgee commented Jan 21, 2025

(@omlk) I'll also add that it also updates the tabs when you select a specific method in the tree and changes the title in the tab header to the name of the method, which is very confusing as to which class was opened before.

Yes, this too. In fact, just trying to get focus back to the window usually has me clicking somewhere in the main tab, realising I've clicked on one of the many deep links in the code view (class, method, parameter type, etc.), swearing loudly and grudgingly looking for the tiny back button.

Would happily change my preferences to only navigate on double-click in the Assembly Explorer, the main code view, or anywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants