Community
    • Login

    Adding a plugin command to the toolbar

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 365 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.
    • Нело АнджелоН
      Нело Анджело
      last edited by

      I have a plugin for working with Lua - Lua Script. In the tools menu there is already a plugin command to open the console. I need to add the command “Execute Current File” for faster access to this command. Thanks for the help.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Нело Анджело
        last edited by

        @Нело-Анджело ,

        I guess I’m not sure what you’re asking for. In Lua Script v0.12, which is the active version, and has been for quite some time, the Plugins > LuaScript menu already has an Execute Current File command that works.

        79604b8f-d295-4aed-9b5d-8d0f41946501-image.png

        You can even use the Settings > Preferences > Shortcut Mapper > Plugins to assign a keyboard shortcut to that command, so that you can run it while you are editing the .lua script without using a menu.

        Since you brought up the “console”, are you saying you want a button in the console panel, which also runs the current command? As far as I know, there isn’t a way to do that. If you would like to make a feature request for that, that plugin has an issue tracker where you can make feature requests.

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