Folder as Workspace - Customizing context menu
-
Is it possible to customize the Context Menu of the Folder as Workspace panel via NppMsgs or such ?
Could not find any documentation on the matter. -
There are no messages available to modify the menu at all.
I’m not going to say it is impossible though. Maybe with enough knowledge of the win32 API it would be possible to somehow get the menu and subclass it or something…but this would non-trivial.
-
Hello. In the source of “Folder as Workspace” there are commented lines of code for context menu that are:
notepad-plus-plus/PowerEditor/src/WinControls/FileBrowser/fileBrowser.cpp
line 753. IDM_FILEBROWSER_DELETEFOLDER
line 775. IDM_FILEBROWSER_DELETEFILEthis are quite good context menu items for “Folder as Workspace”. The thing is that I’ve no any experience regarding Notepad++ code editing who can include above functionalities to the code for the upcoming version.
Thank you for your attention