The following screen shows the menu of three commands that can work with the selected text. How to add additional Plugin commands in this menu?
1 Answer
In the Notepad++ installation folder, there is an xml file called ContextMenu.xml
.
Usually it is located in
C:\program files\notepad++ or
C:\users\username\AppData\Roaming\Notepad++.
Here is where you add your custom plugin commands.
Note: You need to close Notepad++ and edit this xml file in some other editor, otherwise, it may not register your changes.
-
1
-
1
-
2
-
1@HengLou There is a button you can press to officially mark the answer as an accepted answer, rather than just in a comment.– RufusVSSep 9, 2022 at 14:25