• Login
Community
  • Login

Lua scripting Plugin

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
6 Posts 5 Posters 1.2k 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.
  • A
    Alan Robinsin
    last edited by Feb 19, 2023, 12:03 PM

    Lua scripting Plugin:

    I Wish there was a Button on the Toolbar to Run (Execute the Code).

    Fantastic for Testing Short Scripts.

    Its capabilities. This provides control over all of Scintilla’s features and options with a light-weight, fully-functional programming language.

    Author: Justin Dailey

    A E D 3 Replies Last reply Feb 19, 2023, 12:13 PM Reply Quote 0
    • A
      Alan Kilborn @Alan Robinsin
      last edited by Feb 19, 2023, 12:13 PM

      @Alan-Robinsin said in Lua scripting Plugin:

      Author: Justin Dailey

      Maybe you get Justin’s attention faster with this: @dail

      1 Reply Last reply Reply Quote 2
      • E
        Ekopalypse @Alan Robinsin
        last edited by Ekopalypse Feb 19, 2023, 12:15 PM Feb 19, 2023, 12:15 PM

        @Alan-Robinsin

        or by opening a feature request in his repo.

        1 Reply Last reply Reply Quote 3
        • D
          dinkumoil @Alan Robinsin
          last edited by dinkumoil Feb 20, 2023, 7:50 AM Feb 20, 2023, 7:48 AM

          @Alan-Robinsin

          The LuaScript plugin already provides a menu item to execute the code in current editor tab, see (menu) Plugins -> LuaScript -> Execute Current File.

          With the help of the CustomizeToolbar plugin you can create a toolbar button linked to that menu entry by yourself. The plugin provides help how to do that, see (menu) Plugins -> Customize Toolbar -> Help - Custom Buttons.

          But since coding implies that you have your fingertips already at the keyboard, I would like to suggest to use Npp’s macro feature to create a macro that

          • saves the current file and
          • calls LuaScript’s Execute Current File feature.

          That macro you can assign to a keyboard shortcut.

          A 1 Reply Last reply Mar 22, 2023, 6:23 AM Reply Quote 5
          • A
            Alex Rock @dinkumoil
            last edited by Mar 22, 2023, 6:23 AM

            @dinkumoil said in Lua scripting Plugin:

            @Alan-Robinsin

            The LuaScript plugin already provides a menu item to execute the code in current editor tab, see (menu) Plugins -> LuaScript -> Execute Current File.

            With the help of the CustomizeToolbar plugin you can create a toolbar button linked to that menu entry by yourself. The plugin provides help how to do that, see (menu) Plugins -> Customize Toolbar -> Help - Custom Buttons.

            But since coding implies that you have your fingertips already at the keyboard, I would like to suggest to use Npp’s macro feature to create a macro that

            • saves the current file and
            • calls LuaScript’s Execute Current File feature.

            That macro you can assign to a keyboard shortcut.

            thanks my issue has been fixed.

            A 1 Reply Last reply Mar 29, 2023, 8:23 AM Reply Quote 0
            • A
              Alex Rock @Alex Rock
              last edited by Mar 29, 2023, 8:23 AM

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