Community
    • Login

    Folder as Workspace - Customizing context menu

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 3 Posters 2.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • StavMS
      StavM
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • dailD
        dail
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • Hrach TumasyanH
          Hrach Tumasyan
          last edited by Hrach Tumasyan

          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_DELETEFILE

          this 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

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors