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

Add customization for tab context menu #12170

Closed
ArkadiuszMichalski opened this issue Sep 13, 2022 · 10 comments
Closed

Add customization for tab context menu #12170

ArkadiuszMichalski opened this issue Sep 13, 2022 · 10 comments
Assignees

Comments

@ArkadiuszMichalski
Copy link
Contributor

Would be nice if we can modify tab context menu in the same way that the main context menu (via an .xml file, even using the same contextMenu.xml file) or other way.

After merge #12150 it's possible that not everyone will be happy to move some items to an additional sub-menu. First unhappy report #12098 (comment).

Temporary solution:
Now most (if not all) commands from the tab context menu are generally available, so they can be placed in the main context menu (and this menu we can modify as we want via contextMenu.xml file).

@rddim
Copy link
Contributor

rddim commented Sep 14, 2022

I was thinking about the same last night, but you are faster. I would like to have the opportunity to modify the tab menu too.

@madscijr
Copy link

I would use this feature.

donho added a commit to donho/notepad-plus-plus that referenced this issue Nov 28, 2022
@donho donho closed this as completed in aa8ae48 Nov 30, 2022
@latin-programmer
Copy link

Thank you @ArkadiuszMichalski for implementing this. I'm a NotePad++ user and software developer and for me having "Close All BUT This" in a subtab prompted me to downgrade until your fix is out. I use it very often and it saves time to have it accessible directly. I'll upgrade again once your commit is made part of the next release.

@ArkadiuszMichalski
Copy link
Contributor Author

@latin-programmer
Thanks should go to @donho and people who tested his PR #12576. I didn't do anything here.

@alankilborn
Copy link
Contributor

having "Close All BUT This" in a subtab prompted me to downgrade

This is not smart.
If you use it "very often" the smart thing to have done (in order to make it even faster than a right-click top-level choice) would have been to assign it a keycombo.

until your fix is out

I wouldn't call it a fix. I'd call it a option.

@AgostinoSturaro
Copy link

AgostinoSturaro commented Dec 28, 2022

Is this documented somewhere?
The tabContextMenu_example.xml file, which is in %APPDATA%\Notepad++ (I couldn't find it at first), says

Please check "How to Customize the Context Menu" on:
https://npp-user-manual.org/docs/config-files/#the-context-menu-contextmenu-xml

But that's about a different menu, not the one that comes up when right-clicking on a tab.

@alankilborn
Copy link
Contributor

@AgostinoSturaro

Is this documented somewhere?

It will be in the user manual. As 8.4.8 supporting this was recently released, the user manual release lags a bit behind.

But that's about a different menu, not the one that comes up when right-clicking on a tab

The format of the xml file is the same, so the editor right-click context menu instructions can be followed for editing the right-click tab context menu -- the only thing different is the file that is being edited.

@cmeriaux
Copy link
Contributor

cmeriaux commented Jan 2, 2023

@AgostinoSturaro @alankilborn is user manual web site updated now ? it doesn't seems so. Is it an in progress task ?
Cheers

@alankilborn
Copy link
Contributor

is user manual web site updated now ? it doesn't seems so. Is it an in progress task ?

@pryrt (Peter Jones) is your best user-manual contact, as he is the active maintainer.

But, no, as of this moment, user manual changes for v8.4.8, are not released yet. They usually lag the software release by a little bit of time. I see constant activity for the user manual sources, so it is "in-progress".

@pryrt
Copy link
Contributor

pryrt commented Jan 3, 2023

@cmeriaux , the updated user manual has now been released

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

Successfully merging a pull request may close this issue.

9 participants